Configuration data used both by ComputeRawMovement and the prototype-grade Move and ComputeRawSteering methods. More...
Public Attributes | |
float | Acceleration = 10 |
When moving, velocity is incremented by this factor over time (used only by Move and ComputeRawSteering). | |
bool | AirControl |
Should player keep control when in FreeFall (used only by Move and ComputeRawSteering). | |
float | AllowedPenetration = 0.1f |
Helps stabilize grounded state when walking over slightly bumpy geometry. Influences collision and trigger callbacks. | |
float | BaseJumpImpulse = 5 |
Vertical impulse applied when Jump() is called without an overhauling impulse passed (used only by Jump()). | |
float | Braking = 10 |
When stopped moving, velocity is decremented by this factor over time (used only by Move and ComputeRawSteering). | |
BumpBehavior | BumpBehavior = BumpBehavior.IgnoreOnStanding |
NetworkCharacterController.Configuration.BumpBehavior for collisions with this Character Controller. | |
LayerMask | LayerMask = -1 |
Only colliders in this layermask will be considered by the movement query. | |
float | MaxSlope = 60 |
Horizontal velocity is clamped by this magnitude (used only by Move and ComputeRawSteering). | |
float | MaxSlopeSpeed = 5 |
Slope-fall velocity is clamped by this magnitude (used only by Move and ComputeRawSteering). | |
float | MaxSpeed = 4 |
Horizontal velocity is clamped by this magnitude (used only by Move and ComputeRawSteering). This will only be used to initialize the corresponding MaxSpeed networked property, which can be changed in runtime. | |
float | PenetrationCorrection = 0.5f |
How much penetration to correct each frame (used only by Move and ComputeRawSteering) | |
QueryTriggerInteraction | TriggerInteraction = QueryTriggerInteraction.UseGlobal |
Whereas to also compute triggers or not. | |
Configuration data used both by ComputeRawMovement and the prototype-grade Move and ComputeRawSteering methods.