Click to sprint, stop sprinting when release thumbstick
im wanting to set up a sprint like you see in most console games where you click the left thumbstick to initiate sprint but it does not need to be held down, you stop sprinting when the thumbstick is eased back below a certain percentage.
so how would i do this?
asked Sep 03 '16 at 09:23 PM in Blueprint Scripting
ok, i solved this issue myself playing around with it and it seems to work.. for anyone interested here is a photo of the blueprint as it stands, i will probably be adding a transition into and out of sprint for sort of an accelerate/decelerate time but the important part is now sprint is disabled when the thumbstick is below a certain point and sprint is only enabled when its above a certain point AND the button is pressed again automatically reverting back to walking when the stick is eased back again... the key here was to use the y-axis event, and an AND gate with two separate branches to feed into sprinting and walking
answered Sep 06 '16 at 06:00 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here