ThirdPersonControllerData
此内容尚不支持你的语言。
Defined in: gameplay/ThirdPersonController.ts:42
The fields of the ThirdPersonController component.
Properties
Section titled “Properties”acceleration
Section titled “acceleration”acceleration:
number
Defined in: gameplay/ThirdPersonController.ts:46
How fast it reaches that speed, units per second squared.
airControl
Section titled “airControl”airControl:
number
Defined in: gameplay/ThirdPersonController.ts:54
How much of acceleration applies while off the ground, 0..1.
camera
Section titled “camera”camera:
number
Defined in: gameplay/ThirdPersonController.ts:58
The camera that defines “forward”. 0 = the first ThirdPersonCamera found.
cameraRelative
Section titled “cameraRelative”cameraRelative:
boolean
Defined in: gameplay/ThirdPersonController.ts:56
Read the stick in the camera’s ground plane rather than the world’s.
deceleration
Section titled “deceleration”deceleration:
number
Defined in: gameplay/ThirdPersonController.ts:48
How fast it sheds it when the stick centres.
enabled
Section titled “enabled”enabled:
boolean
Defined in: gameplay/ThirdPersonController.ts:61
idleThreshold
Section titled “idleThreshold”idleThreshold:
number
Defined in: gameplay/ThirdPersonController.ts:60
Speed under which the animator is told the character is standing still.
jumpSpeed
Section titled “jumpSpeed”jumpSpeed:
number
Defined in: gameplay/ThirdPersonController.ts:52
Upward speed a jump starts with; 0 disables jumping.
moveSpeed
Section titled “moveSpeed”moveSpeed:
number
Defined in: gameplay/ThirdPersonController.ts:44
Top speed on the ground, world units per second.
rotationSpeed
Section titled “rotationSpeed”rotationSpeed:
number
Defined in: gameplay/ThirdPersonController.ts:50
How fast it turns to face where it is going, degrees per second.