Move the character
The character can be moved in three different ways:
Modifying Position
This property modifies the rigid body position, but without breaking Interpolation.
CharacterActor.Position = position;
Using the Teleport method
Teleporting an actor means changing its position instantly and also breaking interpolation. Additionaly, a dedicated event (OnTeleport) will be called.
CharacterActor.Teleport(position);
Modifying Velocity
This property modifies the rigid body velocity.
CharacterActor.Velocity = velocity;
Last updated