character_controller
Character controller used for movement constrained by collisions without having to deal with a rigid body. A character controller is kinematic, and so is not affected by forces. It uses its own tweaked collision algorithm to give a good feeling while controlling the character.
Dependencies
Attributes
Attribute | Type | Default | Description |
---|---|---|---|
stepOffset | float | 0 | Step offset. If the height of a step is greater than stepOffset, the controller cannot climb automatically and gets stuck. |
slopeLimit | float | 45 | Slope limit in degrees. A slope steeper than the slopeLimit will not be walkable by the controller. |
skinWidth | float | 0 | The character's collision skin width. |
displacement | vec3 | [ 0, 0, 0 ] | Displacement vector for current frame. |