ThirdPersonController
Defined in: packages/threeplay/src/plugins/camera/types.ts:73
The running third-person behavior.
Extends
Section titled “Extends”Methods
Section titled “Methods”stop()
Section titled “stop()”stop():
void
Defined in: packages/threeplay/src/plugins/camera/types.ts:10
Stops it; the camera stays where it is.
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”distance
Section titled “distance”distance:
number
Defined in: packages/threeplay/src/plugins/camera/types.ts:79
Wanted distance (the camera may be closer while a wall is in the way).
readonlymode:"follow"|"firstPerson"|"thirdPerson"|"orbit"|"topDown"
Defined in: packages/threeplay/src/plugins/camera/types.ts:8
Which behavior this is.
Inherited from
Section titled “Inherited from”pitch:
number
Defined in: packages/threeplay/src/plugins/camera/types.ts:77
Camera elevation over the horizon, degrees.
shoulder
Section titled “shoulder”shoulder:
number
Defined in: packages/threeplay/src/plugins/camera/types.ts:81
Over-the-shoulder offset in meters (negate it to switch shoulders).
yaw:
number
Defined in: packages/threeplay/src/plugins/camera/types.ts:75
Degrees around the target; 0 puts the camera on its +Z side.