Skip to content

format

typescript
CharacterController.slopeLimit

class: CharacterController

description

The maximum angle of the slope that the character controller can climb.

By default, the slopeLimit property is set to 45 degrees, which means the character controller can walk on slopes with an angle of up to 45 degrees.

parameter

param_nametypedescription

reture

typedescription
numberThe maximum slope angle.

code example