Contents

slopeLimit

The slope limit expressed as a limit angle in radians.

Declaration

var slopeLimit: Float

Discussion

This value represents the maximum slope that the character can move over. RealityKit applies this value to characters that are walking on static objects, but not when walking on kinematic or dynamic objects.

Changing this value after the CharacterControllerComponent has been created and added to Entity has no effect.

See Also

Configuring a character