Hi, I need some help about jump mechanics in unity, I have written a code that suppose to make the player do a single jump but he double jump instead. If does someone and idea why, I will appreciate him.
@Tvde1 first OnCollision be executed => Update then isGrounded = false => isGrounded is true "when I'm not touching anything" => Update is executed while I'm in the air