I’ve looked around and I have no idea how I add additional controls to the third person template. I really would like to add a sprint button, but I don’t know where to look or what to do. I’ve tried looking at the MyCharacter blueprint, but it’s not making much sense to me. Can anyone help?
The First Person Template has a sprint ability, probably a good place to start.
I looked at the blueprints and input settings and I see nothing that resembles what I’m looking for. Perhaps you could specify where?
I interpreted what he suggested as you look at the generated code from the first person template and see if there’s something there close to what you are looking for. I would look in the <projectName>Character.h/cpp files.
Go to Edit->Project Settings->Input to create new axes and actions. You can bind direct to keys/sticks/mouse as well if you want!
On your character blueprint add in your controls that you want to control the sprint, I have it mapped to the right trigger on the game controller and the left shift button. Then add in a get character movement variable. From the get character movement variable add in a set max walk speed character variable and copy it so you have 2 of them. Set you max walk speed for both and then attach your triggers for the speed to adjust based on the buttons being pressed or released.
I’m having this issue as well with just the 3rd person controller. When using Get character movement then trying to set the MaxWalkSpeed it doesn’t show up as if it is hidden. It works fine in the 1st person controller blueprint. Anyone got access to the MaxWalkSpeed for the 3rd person controller blueprint?