Doc > Nodes > EVENT > FirstPersonControls
Creates a PointerLockControls
Description
This allows you to create a First-Person navigation, using the WASD keys.
Parameters
Name | Type | Description |
---|---|---|
colliderObject | node_path | collider object |
lock | button | click to lock controls |
unlock | button | click to unlock controls |
capsuleRadius | float | collision Capsule Radius |
capsuleHeight | float | collision Capsule Height |
physicsSteps | integer | physics Steps |
gravity | vector3 | gravity |
translateSpeed | float | translate speed |
rotateSpeed | float | rotate speed |
jumpAllowed | boolean | jump Allowed |
jumpStrength | float | jump Force |
runAllowed | boolean | run Allowed |
runSpeedMult | float | run speed mult |
updateCollider | button | recompute colliding geo |
startPosition | vector3 | start Position |
startRotation | vector3 | start Position |
reset | button | reset |
minPolarAngle | float | min rotation angle |
maxPolarAngle | float | max rotation angle |