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"

Hey guys, Please help. I am trying to get my character movement to slow down over time while sprinting. Nothing seems to work.

Hello you guys, I am trying to get the character movement from my character to slow down while sprinting, so it can have a smooth transition from sprinting and walking.

I set the max walk speed and tried Subtracting the float variable and nothing seems to work on my character blueprint. Does anyone have any ideas?

Product Version: UE 4.7
Tags:
more ▼

asked Jun 16 '15 at 08:51 AM in Blueprint Scripting

avatar image

leog4
3 1 2 4

avatar image Narghile Jun 16 '15 at 11:41 AM

Hi Mate

Post what you have tried, it could just be a node or 2.

Narg

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

1 answer: sort voted first

Hello leog4,

Are you subtracting the float variable from the max sped on tick or just when the input is pressed? If not,try this: - Make a boolean, called "isMoving" or "isSprinting" or something of the like

  • Set the boolean to be true when movement input is pressed and false when released

  • Using Event Tick, place a branch with the boolean you created as the condition

  • If the condition is true (should be defaulted to false by the way) then subtract from Max Walk Speed

Hope that works for you! If you need more clarification, ask me and I'll try my best to help!

Good luck!

more ▼

answered Jun 16 '15 at 03:20 PM

avatar image

BlackFoxGames
21 2 3

(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