How to make a player jump when the gamepad stick is pointing up?

its a side scroller, managed to make the player go left and right using the x axis but i have no idea how to make the player jump only when the stick is pointing up / they drag it upwards

1 Like

how to make the player jump only when the stick is pointing up / they drag it upwards

Would this work for you:

image

1 Like

yes that would defo work!! do you know how to make that InputAction tho im really new to all of this :’

1 Like

You can see it in the first pic. Go to Project Settings:

1 Like

question do you know how to also make it an infinite jump and not a one time only jump?

Infinite jump? Jump many times? If so:

image

1 Like

thats really helpful! was thinking about when you hold the stick up it never stops jumping till release tho! :o

Ah. So it’s not really flying but we keep chain jumping?

1 Like

yeah like a chain jump c:

Oooh, fancy apex jumping :exclamation: Not something I see around here often, try:


This can also be done with a Timer but the above feature is underutilised and seems like a perfect use case scenario.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.