#Double Jump not working correctly

1 messages · Page 1 of 1 (latest)

bold juniper
#

Hello everyone. Im completely new to Unity VS and im having some trouble with the code of my double jump. The mechanic itself works, but the player can jump in the air multiple times instead of only once. i think it has something to do with my ground check but i cant figure out what exactly, i would really appreciate some help

cyan oxide
#

If that does not work then the problem could be the ground check is not triggering. Its difficult to tell since the Graph is not visible in the video

bold juniper
#

Alright i tried it but it didnt work. The ground check should be triggering since i have no problem jumping on my tilemap

rustic tinsel
#

do you have a update method that increase time using get delta time

#

it seems like you are adding delta time to timer everytime you jump, you need to put it as a condition somewhere else i think?

cyan oxide