Jolt Physics
A multi core friendly Game Physics Engine
|
Settings struct with settings for ExtendedUpdate. More...
#include <CharacterVirtual.h>
Public Attributes | |
Vec3 | mStickToFloorStepDown { 0, -0.5f, 0 } |
See StickToFloor inStepDown parameter. Can be zero to turn off. | |
Vec3 | mWalkStairsStepUp { 0, 0.4f, 0 } |
See WalkStairs inStepUp parameter. Can be zero to turn off. | |
float | mWalkStairsMinStepForward { 0.02f } |
See WalkStairs inStepForward parameter. Note that the parameter only indicates a magnitude, direction is taken from current velocity. | |
float | mWalkStairsStepForwardTest { 0.15f } |
See WalkStairs inStepForwardTest parameter. Note that the parameter only indicates a magnitude, direction is taken from current velocity. | |
float | mWalkStairsCosAngleForwardContact { Cos(DegreesToRadians(75.0f)) } |
Cos(angle) where angle is the maximum angle between the ground normal in the horizontal plane and the character forward vector where we're willing to adjust the step forward test towards the contact normal. | |
Vec3 | mWalkStairsStepDownExtra { Vec3::sZero() } |
See WalkStairs inStepDownExtra. | |
Settings struct with settings for ExtendedUpdate.
Vec3 CharacterVirtual::ExtendedUpdateSettings::mStickToFloorStepDown { 0, -0.5f, 0 } |
See StickToFloor inStepDown parameter. Can be zero to turn off.
float CharacterVirtual::ExtendedUpdateSettings::mWalkStairsCosAngleForwardContact { Cos(DegreesToRadians(75.0f)) } |
Cos(angle) where angle is the maximum angle between the ground normal in the horizontal plane and the character forward vector where we're willing to adjust the step forward test towards the contact normal.
float CharacterVirtual::ExtendedUpdateSettings::mWalkStairsMinStepForward { 0.02f } |
See WalkStairs inStepForward parameter. Note that the parameter only indicates a magnitude, direction is taken from current velocity.
Vec3 CharacterVirtual::ExtendedUpdateSettings::mWalkStairsStepDownExtra { Vec3::sZero() } |
See WalkStairs inStepDownExtra.
float CharacterVirtual::ExtendedUpdateSettings::mWalkStairsStepForwardTest { 0.15f } |
See WalkStairs inStepForwardTest parameter. Note that the parameter only indicates a magnitude, direction is taken from current velocity.
Vec3 CharacterVirtual::ExtendedUpdateSettings::mWalkStairsStepUp { 0, 0.4f, 0 } |
See WalkStairs inStepUp parameter. Can be zero to turn off.