Click or drag to resize

FingersFirstPersonControllerScript Fields

The FingersFirstPersonControllerScript type exposes the following members.

Fields
  NameDescription
Public fieldJumpCooldown
How often the player can jump
Public fieldJumpMask
The layers the player may jump off of
Public fieldJumpSpeed
Jump speed/power
Public fieldMovePower
Higher values reduce move speed faster as pan vertical approaches 0.
Public fieldMoveSpeed
Move speed
Public fieldPlayer
Player main rigid body
Public fieldPlayerCamera
Player camera
Public fieldPlayerFeet
Player feet collider. Used to determine if jump is possible.
Public fieldRotateSpeed
Rotation speed for sideways pan
Public fieldRotationPower
Higher values reduce rotation faster as pan horizontal approaches 0.
Public fieldTiltLimits
Tilt angle limits if TiltSpeed is non-zero
Public fieldTiltResetSpeed
How fast the tilt should reset back to default after tilt gesture ends
Public fieldTiltSpeed
Tilt speed for two finger rotate gesture to look up and down. Set to 0 to disable this.
Top
See Also