Slope Limit Behaviour
Description
The SlopeLimitBehaviour
component allows us to define the walk-able behavior of an object as a whole, rather than on a per-face basis. When enabled, it permits us to override the CharacterMovement
slopeLimit
property, providing greater flexibility.
This is particularly useful in cases where we want to constrain (or permit) specific objects or zones to a particular behavior, regardless of their slope limit value. For instance, marking other characters as non-walk-able, preventing a player character from landing on them.
To utilize this feature, add the SlopeLimitBehaviour
to the GameObject
with your Collider
. Then, in the CharacterMovement
component, make sure to set the slopeLimitOverride
property to true.
Enums
Properties
Last updated