double jump advice
Can anyone give me a clue on how to constrain my character to making two jumps? Right now my jumping is based on overlapping/colliding with a platform, which is okay, but I want to make it so that the character jumps into the air and then can jump one more time while still in the air (but only one more time), and then the jumping resets when the character lands again on a platform. I could really use a hint. Thanks!
Comments
Then you can have a rule when the player colldies with platform, change that attribute to 0 so it resets the whole thing.