class
ICharacterControllerImplementation
Low-level interface for a character controller.
Should be implemented by the physics plugin to provide functionality.
Public
Methods
~ICharacterControllerImplementation
Move
Moves the controller in the specified direction by the specified amount, while interacting with surrounding geometry.
Returns flags signaling where collision occurred after the movement.
Does not account for gravity, you must apply it manually.
SetPosition
Determines position of the center of the controller.
This will teleport the character to the location. Use Move() for movement that includes physics.
GetPosition
SetFootPosition
Determines the position of the bottom of the controller.
Position takes contact offset into account. Changing this will teleport the character to the location. Use Move() for movement that includes physics.
GetFootPosition
SetRadius
Determines the radius of the controller capsule.
GetRadius
SetHeight
Determines the height between the centers of the two spheres of the controller capsule.
GetHeight
SetUp
Determines the up direction of capsule.
Determines capsule orientation.
GetUp
SetClimbingMode
Controls what happens when character encounters a height higher than its step offset.
GetClimbingMode
SetNonWalkableMode
Controls what happens when character encounters a slope higher than its slope offset.
GetNonWalkableMode
SetMinMoveDistance
Represents minimum distance that the character will move during a call to Move().
This is used to stop the recursive motion algorithm when the remaining distance is too small.
GetMinMoveDistance
SetContactOffset
Contact offset specifies a skin around the object within which contacts will be generated.
It should be a small positive non-zero value.
GetContactOffset
SetStepOffset
Controls which obstacles will the character be able to automatically step over without being stopped.
This is the height of the maximum obstacle that will be stepped over (with exceptions, see ClimbingMode).
GetStepOffset
SetSlopeLimit
Controls which slopes should the character consider too steep and won't be able to move over.
See NonWalkableMode for more information.