Iv seen other posts that mention a blueprint node called “SET max walk speed”, but it isnt in my blueprint editor. what do i do?
You need to:
-
In components add Character Movement Component.
-
In graph editor, drag component you added to graph and choose Get when asked, what to do
-
Press blue pin, drag and under Variables > Character Movment you will find it.
In case you blueprint inherits from ACharacter, you whould have Movment Component added already. In My Blueprint tab, check Show inherited variables and it will be in Character category.
This is how I have it set up:
Walk speed is set to 175, Run is set to 600.
You can play with it how you like to get your desired results.
-W
What do you have connected to the Branch at the beginning and don’t say “IsRunning” lol
It’s a check to see if character is on the ground or in the air so stamina only work when on ground
“Event Tick” node