x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

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?

Product Version: UE 4.13
Tags:
more ▼

asked Sep 03 '16 at 09:23 PM in Blueprint Scripting

avatar image

burntbyhellfire
6 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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

alt text

more ▼

answered Sep 06 '16 at 06:00 PM

avatar image

burntbyhellfire
6 1

avatar image bombstruck May 11 '17 at 05:03 AM

Thank you! Exactly what I was looking for!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question