About Store Forum Documentation Contact



Post Reply 
Character ctrl position is not at actual position
Author Message
Outdoordoor Offline
Member

Post: #1
Character ctrl position is not at actual position
I have a player character that inherits from a Game.Chr. I'm drawing the actor of character controller in red, and controller center position in orange. Why are they in different places?

The code:
Code:
Ball(0.2, playerCont[0].ctrl.center()).draw(ORANGE, true);
playerCont[0].ctrl.actor.draw(RED, true);

[Image: CVAegfc.png]

On a different note: why does Game.Chr controller get stuck on terrain when you use ctrl.update(), while other controllers work fine?
(This post was last modified: 01-31-2024 08:23 PM by Outdoordoor.)
01-31-2024 07:59 PM
Find all posts by this user Quote this message in a reply
Post Reply