Hi,
I have some problems with changing speed for CharacterController. I tried to change the line in CharacterController where the Camera position is changed:
That line of code offsets the camera vertically from the character body entity depending on whether or not it is crouched. Multiplying by the speed will simply increase or decrease the vertical offset, which is not what you want to do.
The speed of the character can be changed using the CharacterController.HorizontalMotionConstraint.Speed. There's also a CrouchingSpeed, AirSpeed, and SlidingSpeed. The CrouchingSpeed is how fast the character can accelerate itself to under its own power when crouching. The AirSpeed is how fast the character can accelerate itself to under its own power while not supported by anything. The SlidingSpeed is how fast the character can accelerate itself to under its own power while it has support, but not traction. There are also corresponding MaximumForce (covering both standing and crouching), MaximumAirForce, and MaximumSlidingForce properties which govern how fast the character accelerates under different conditions.