increating step offset

i’m creating a stair , how to increase step offset for the 3d person controller please where i can find this to do setup ?


Yes character controller , but where i find step offset please ?

alt text.
Step Offset is the 4th field in the Character Controller inspector-window.

If you want to change it in a script, you can do that by first getting the CharacterController of the gameObject, and then change the value of stepOffset.

in C#:

float newStepOffset = 1.4f;
CharacterController controller = GetComponent<CharacterController>();
controller.stepOffset = newStepOffset;

Thanks a lot i really appreciate
just found it