move And Rotate
abstract fun moveAndRotate( movement: Vec3F = Vec3F.ZERO, rotation3: Vec2F = Vec2F.ZERO, roll: Float = 0.0f, ticks: Int = 1): CharacterObservation
Content copied to clipboard
See also
and other constants for examples.
and other constants for examples.
Parameters
movement
Unit vector representing direction of a movement. The direction is relative to the character itself, not coordinates of the system.
rotation3
Unit vector representing rotation of the camera. It's relative to the character itself. If the character stands on a platform, this moves the camera only. If the character uses jetpack, this moves the whole character orientation.