Skip to content

ThirdPersonControllerData

Defined in: gameplay/ThirdPersonController.ts:42

The fields of the ThirdPersonController component.

acceleration: number

Defined in: gameplay/ThirdPersonController.ts:46

How fast it reaches that speed, units per second squared.


airControl: number

Defined in: gameplay/ThirdPersonController.ts:54

How much of acceleration applies while off the ground, 0..1.


camera: number

Defined in: gameplay/ThirdPersonController.ts:58

The camera that defines “forward”. 0 = the first ThirdPersonCamera found.


cameraRelative: boolean

Defined in: gameplay/ThirdPersonController.ts:56

Read the stick in the camera’s ground plane rather than the world’s.


deceleration: number

Defined in: gameplay/ThirdPersonController.ts:48

How fast it sheds it when the stick centres.


enabled: boolean

Defined in: gameplay/ThirdPersonController.ts:61


idleThreshold: number

Defined in: gameplay/ThirdPersonController.ts:60

Speed under which the animator is told the character is standing still.


jumpSpeed: number

Defined in: gameplay/ThirdPersonController.ts:52

Upward speed a jump starts with; 0 disables jumping.


moveSpeed: number

Defined in: gameplay/ThirdPersonController.ts:44

Top speed on the ground, world units per second.


rotationSpeed: number

Defined in: gameplay/ThirdPersonController.ts:50

How fast it turns to face where it is going, degrees per second.