The configuration values of the CharacterController3D. Use this to setup the kcc shape size and tune its movement and collision detection. More...
Public Member Functions | |
override void | Loaded (IResourceManager assets, Native.Allocator allocator) |
Public Attributes | |
FP | Acceleration = 25 |
How fast the character controller accelerates. More... | |
Boolean | AirControl = true |
Whether the character controller should be controllable while not grounded. More... | |
FP | BaseJumpImpulse = 4 |
The default jump impulse for the character controller. More... | |
FP | Braking = FP._10 |
How fast the character controller decelerates. More... | |
FP | Extent = FP._0_10 |
The extent value used for the character controller. More... | |
FPVector3 | Gravity = new FPVector3(FP._0, -FP._10, FP._0) |
The gravity applied to the character controller. More... | |
LayerMask | LayerMask = -1 |
Represents a bitmask for determining which layers an object is on or interacts with. More... | |
Int32 | MaxContacts = 8 |
The maximum number of contacts considered during character controller movement. More... | |
FP | MaxPenetration = FP._0_05 |
The maximum allowed penetration distance for the character controller. More... | |
FP | MaxSlope = 60 |
The maximum slope the character controller can walk on. More... | |
FP | MaxSlopeSpeed = FP._5 |
The maximum speed the character controller can move on a slope. More... | |
FP | MaxSpeed = 3 |
The maximum speed the character controller can move. More... | |
FPVector3 | Offset = new FPVector3(FP._0, FP._0_50, FP._0) |
The offset position of the character controller in relation to its transform position. More... | |
FP | PenetrationCorrection = FP._0_50 |
The amount of correction applied to the penetration of a character controller. More... | |
FP | Radius = FP._0_50 |
The radius of the character controller. More... | |
Boolean | UseManifoldNormal = false |
Whether the character controller should use the manifold normal for collision resolution. More... | |
Static Public Attributes | |
const long | DEFAULT_ID = (long)DefaultAssetGuids.CharacterController3DConfig |
Obsolete. Use the default asset that is set inside the SimulationConfig instead. More... | |
Properties | |
FPVector3 | GravityNormalized [get] |
Normalized Gravity, cached when the asset is loaded. More... | |
FP | GravityStrength [get] |
Magnitude of the config Gravity, cached when the asset is loaded. More... | |
The configuration values of the CharacterController3D. Use this to setup the kcc shape size and tune its movement and collision detection.
|
static |
Obsolete. Use the default asset that is set inside the SimulationConfig instead.
The offset position of the character controller in relation to its transform position.
The maximum allowed penetration distance for the character controller.
The amount of correction applied to the penetration of a character controller.
The extent value used for the character controller.
Int32 Quantum.CharacterController3DConfig.MaxContacts = 8 |
The maximum number of contacts considered during character controller movement.
LayerMask Quantum.CharacterController3DConfig.LayerMask = -1 |
Represents a bitmask for determining which layers an object is on or interacts with.
Boolean Quantum.CharacterController3DConfig.UseManifoldNormal = false |
Whether the character controller should use the manifold normal for collision resolution.
Boolean Quantum.CharacterController3DConfig.AirControl = true |
Whether the character controller should be controllable while not grounded.
FP Quantum.CharacterController3DConfig.Acceleration = 25 |
How fast the character controller accelerates.
How fast the character controller decelerates.
FP Quantum.CharacterController3DConfig.BaseJumpImpulse = 4 |
The default jump impulse for the character controller.
FP Quantum.CharacterController3DConfig.MaxSpeed = 3 |
The maximum speed the character controller can move.
The gravity applied to the character controller.
FP Quantum.CharacterController3DConfig.MaxSlope = 60 |
The maximum slope the character controller can walk on.
The maximum speed the character controller can move on a slope.
|
get |
Magnitude of the config Gravity, cached when the asset is loaded.