I'm using physics object as my platformer player, so I use the impluse to make player jump. the problem is, player can jump when ever impulse is there. I want make player only able to jump when landed. any ideas?
Yes I have tried the variable way. I have a variable IsLanded set to 0 default, when landed(collided with ground object) set to 1, but then how do I set to 0 when in the mid air? I can't use Else event, and I can't invert the collision event:/