CharacterController.slopeLimit Manual     Reference     Scripting  
Scripting > Runtime Classes > CharacterController
CharacterController.slopeLimit

var slopeLimit : float

Description

The character controllers slope limit in degrees

// Set the controller slope limit to 45.0 degrees
var controller : CharacterController = GetComponent(CharacterController);
controller.slopeLimit = 45.0;