#stopsprinting
Explore tagged Tumblr posts
Text
Adding a sprint button.
i used this tutorial.
create new action called "IA_Sprint".
add sprint to IMC_Default.
create new trigger and set it to Down.
go to BP_FirstPersonCharacter
create to new functions called "Sprint" and "StopSprint".
create 2 new Float variables called "WalkSpeed" and "SprintSpeed".
unreals default walk speed is 600, so set WalkSpeed to 600.
set SprintSpeed to anything, i've set it to 1800
drag out Character Movement and Set Max Walk Speed.
get Sprint Speed and set it to Max Walk Speed.
connect Sprint function to Set Max Walk Speed.
copy and paste code into StopSprint.
drag in get WalkSpeed and connect it to Set Max Walk Speed.
in the event graph, add IA_Sprint.
connect Sprint and StopSprint functions.
And you can now sprint!
0 notes
Photo
Getting back to me. You got a floor? You got a gym. Go to it! Life is a marathon not a sprint. #eatwellbewell #littlevictoriestl #blackmenshealth #lifeisamarathon #stopsprinting #homegym #yogamat #pushupbars #exercisebands #plantbasedlifestyle🌱 (at Downtown St. Louis) https://www.instagram.com/p/CNisKvBMkO7/?igshid=17jxacr47q90n
#eatwellbewell#littlevictoriestl#blackmenshealth#lifeisamarathon#stopsprinting#homegym#yogamat#pushupbars#exercisebands#plantbasedlifestyle🌱
0 notes