Skip to content

desiredDirection

desiredDirection(input, basis): Vec3

Defined in: gameplay/ThirdPersonController.ts:117

Where the player is asking to go, as a unit vector on the ground plane. Zero-length when the stick is centred, which is a stop rather than a direction. input.y is forward on the stick, input.x is right.

number

number

MoveBasis

Vec3