Player movement settings.
More...
|
|
bool | AllowMouseMove [get, set] |
| | Should we allow mouse movement?
|
| |
|
bool | AllowMovement [get, set] |
| | Should we allow character movement?
|
| |
|
float | Speed [get, set] |
| | The base walking speed.
|
| |
|
float | Acceleration [get, set] |
| | The acceleration amount.
|
| |
|
float | Deceleration [get, set] |
| | The deceleration amount.
|
| |
|
AnimationCurve | SlopeSpeedMultiplierCurve [get, set] |
| | The slope speed multiplier curve, ranges from [0 .. 1] in the horizontal axis mapped to [0 .. Player.SlopeLimit], vertical axis is the speed multiplier to apply.
|
| |
|
bool | AirControl [get, set] |
| | Should we allow air control?
|
| |
|
float | AirAccelerate [get, set] |
| | The air acceleration amount.
|
| |
|
bool | SmartStrafing [get, set] |
| | Should we allow smart strafing? (Similar to Source Engine strafing, works with AirControl and AirAccelerate only)
|
| |
|
bool | VerticalStrafing [get, set] |
| | Should we allow vertical strafing? (Z local axis)
|
| |
|
bool | HorizontalStrafing [get, set] |
| | Should we allow vertical strafing? (X local axis)
|
| |
|
float | StrafingSpeed [get, set] |
| | The strafing speed for horizontal and vertical strafing. (Smart strafing not included)
|
| |
|
JumpSettings | Jump [get, set] |
| | Jump settings.
|
| |
|
SprintSettings | Sprint [get, set] |
| | Sprint settings.
|
| |
|
CrouchSettings | Crouch [get, set] |
| | Crouch settings.
|
| |
|
Player | Player [get] |
| | The attached player to these settings.
|
| |
Player movement settings.
The documentation for this class was generated from the following file:
- Assets/MFPP/Scripts/Player/Player.cs