Unable to modify CharacterController.minMoveDistance via code

The parameter “Min Move Distance” shown in the screenshot is not exposed via scripting and is also missing from scripting documentation (Unity - Scripting API: CharacterController).

The manual page for Character Controller does indeed show the parameter Unity - Manual: Character Controller component reference

I’m actually unable to even get at this value with reflection. This makes it impossible to assemble a Character Controller based object completely with code.

There is currently an open ticket on this from 2013… https://feedback.unity3d.com/suggestions/charactercontroller-min-move-dis

Well, it’s almost like Unity tend to forget things they do. Even ImageEffects/Global fog isn’t accessible in script.

@ Yes I have ran into that before also. I had to modify the script manually to make it public…

Just FYI we’ve just released version 5.6.0b1 which now exposes minMoveDistance on the CharacterController API: https://unity3d.com/unity/beta/unity5.6.0b1

1 Like

You guys rock!

1 Like