Optional
allowOptional
controlOptional
frictionhow fast the player gets up to speed or comes to rest. higher = more responsive
Optional
gravityhow fast the player accelerates vertically when not on a solid surface, in m/s. should normally be negative
Optional
jumphow high the player can jump, in meters. should normally be positive. gravity must have the same sign for jumping to be possible
Optional
maxmax fall speed in m/s. should normally be negative
Optional
runif not explicitly set, the following properties default to user's preference settings
Optional
turnspeed the player turns in tank mode, in radians/s
Optional
walkspeed the player walks at, in m/s
whether to allow player to move at a slower speed (e.g. with a walk-key or when using a gamepad/joystick). defaults to true