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"

How to increase falling speed when the jump button is released? (2D Game)

Basically the idea is that I want the falling speed to increase when you let go of the jump button, like the mario games. Here's what I have for my jump: alt text

I couldn't see this question asked anywhere online, but if it has, sorry for repeating it!

Product Version: UE 4.21
Tags:
jump.jpg (47.9 kB)
more ▼

asked Jan 02 '19 at 02:18 PM in Blueprint Scripting

avatar image

Tombola20
1

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

The easiest way I did was to set Gravity Scale to something like 1.75, basically a value higher than the default of 1. It can be found in the general settings of the character movement component in your blueprint. I just have mine permantently set to this higher value, but I bet you could just set the gravity to be higher at jump time if you needed to.

more ▼

answered Jan 02 '19 at 02:22 PM

avatar image

xpgained
21 1 2

avatar image xpgained Jan 02 '19 at 02:25 PM

To add to my answer above you could also play around with the max hold time of the jumps. This is found on the actor BP under the character section. You can also set up dbl jump from this using the Jump max count.

(comments are locked)
10|2000 characters needed characters left
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