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"

Is There a Way to Apply "Stop Movement Immediately" When There Is No Player Input For Specific Keys?

I'm making a platformer and I basically want to replicate this type of movement, in which velocity is cancelled when the player is no longer influencing the player character, but only when moving left and right. Left and Right arrow keys. I want to stop all movement immediately, but only when those two keys aren't being pressed

Product Version: UE 4.20
more ▼

asked Oct 18 '18 at 05:29 PM in Blueprint Scripting

avatar image

15 2 3 6

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

1 answer: sort voted first

If you are using the character movement component, simply increase 'Braking Deceleration/Falling' under CharacterMovementComponent/CharacterMovement: Jumping/Falling. Would be great to hear if that's what you want :)

more ▼

answered Oct 18 '18 at 06:05 PM

avatar image

4.2k 88 38 152

avatar image pchanliau Oct 19 '18 at 08:38 AM

Yes, that was actually what I was looking to achieve, thank you so much!

(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