Change walking speed in First Person template C++
So I have created a new C++ project using First Person template and now I just want to change walking speed. CharacterMovementComponent.cpp has these variables
I tried changing these values to higher ones, but my character's speed is still the same... How can I change it? It actually seems that whatever I change in CharacterMovementComponent.cpp it won't change anything in the game, even though I compile it correctly. You can try creating that project yourself and check how to change it, because I didn't change anything
asked Aug 01 '18 at 09:32 PM in C++ Programming
Increasing MaxWalkSpeed in CharacterMovementComponent should be enough to change your top speed. Keep in mind that if you are setting those values in the C++ constructor, then those will be the default values for your class. That means that if you have a blueprint that is inheriting from your C++ class before you change your default c++ values you should check that those values are not being overriden by the blueprint.
answered Aug 01 '18 at 10:31 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here