im attempting to alter the “maxForwardSpeed” variable in the character motor script which comes attached to the FPS controller prefab, but it’s being annoying
i’m trying to make it reduce to 5.0 from the default 10.0
As far as you know? Have you checked or are you just assuming? CaracterMotorMovement isn’t a component just because it is defined within CharacterMotor. Trivial diagnostics:
well considering that using CharacterMotor.maxForwardSpeed results in a missing field exception, claiming that “the field CharacterMotor.maxForwardSpeed” was not found
and CharacterMotorMovement.maxForwardSpeed results in an object reference not set to instance of an object error
ah, excellent, that thread solved it!
strange, i could have sworn i tried a double dot operator to get to the movement class, oh well. this works, im not complaining