struct
CharacterControllerCreateInformation
Contains all the information required for initializing a character controller.
Public
Fields
Position
Center of the controller capsule
ContactOffset
Contact offset specifies a skin around the object within which contacts will be generated.
It should be a small positive non-zero value.
StepOffset
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).
SlopeLimit
Controls which slopes should the character consider too steep and won't be able to move over.
See NonWalkableMode for more information.
MinMoveDistance
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.
Up
Up direction of controller capsule.
Determines capsule orientation.
ClimbingMode
Controls what happens when character encounters a height higher than its step offset.
NonWalkableMode
Controls what happens when character encounters a slope higher than its slope offset.