#stopsprinting
Explore tagged Tumblr posts
3d-game-thing · 7 days ago
Text
Adding a sprint button.
i used this tutorial.
Tumblr media
create new action called "IA_Sprint".
Tumblr media
add sprint to IMC_Default.
Tumblr media
create new trigger and set it to Down.
Tumblr media
go to BP_FirstPersonCharacter
Tumblr media
create to new functions called "Sprint" and "StopSprint".
Tumblr media
create 2 new Float variables called "WalkSpeed" and "SprintSpeed".
Tumblr media
unreals default walk speed is 600, so set WalkSpeed to 600.
Tumblr media
set SprintSpeed to anything, i've set it to 1800
Tumblr media Tumblr media
drag out Character Movement and Set Max Walk Speed.
Tumblr media
get Sprint Speed and set it to Max Walk Speed.
Tumblr media
connect Sprint function to Set Max Walk Speed.
Tumblr media
copy and paste code into StopSprint.
Tumblr media
drag in get WalkSpeed and connect it to Set Max Walk Speed.
Tumblr media Tumblr media
in the event graph, add IA_Sprint.
Tumblr media
connect Sprint and StopSprint functions.
And you can now sprint!
0 notes
littlev4349 · 4 years ago
Photo
Tumblr media
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
0 notes