Modular First Person Player 1.0.2.7
Loading...
Searching...
No Matches
MFPP.Player.MovementSettings Class Reference

Player movement settings. More...

Classes

class  CrouchSettings
 
class  JumpSettings
 
class  SprintSettings
 

Public Member Functions

 MovementSettings (Player player)
 
- Public Member Functions inherited from MFPP.Player.Settings
 Settings (Player player)
 

Properties

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.
 
- Properties inherited from MFPP.Player.Settings
Player Player [get]
 The attached player to these settings.
 

Detailed Description

Player movement settings.


The documentation for this class was generated from the following file: