The role controller is mainly used for controlling the first person and third person protagonists, and does not use the physical effect of a rigid body.
To add a role controller, choose component-physiscs-character controller from the left-side navigation pane.
- Slope limit: slope limit. The role can only climb the slope that is equal to or equal to the value of this parameter.
- Step offset: The step height. You can buy the highest step height.
- Skin width: skin thickness, which can penetrate into each other with other collision bodies. The parameter value is jitters when compared with other collision bodies. A smaller parameter value causes the controlled object to get stuck. A reasonable setting is that the value of this parameter is 10% of the radius value.
- Min move distance: Minimum moving distance. In most cases, this value is set to 0.
- Center: center. This parameter determines the position of the capsule collision body in the world coordinates.
- RADIUS: the radius of the capsule collision body, which also determines the width of the collision body.
- Height: the height of the capsule collision body.
[Original] unity3d-character Controller)