Moving SpriteNode while Jumping Contact Delegate

Hey I am having a rough time with a bug in spritekit.

I have my spritenode moving left and right. When the spritenode hits the floor I change my boolean from spritenode.isJumping = true to spritenode.isJumping = false.

But when I am holding down a direction to move left or right…sometimes the contact delegate does not register the hit on the floor thus leaving the spritenode as spritenode.isJumping = true all the time until I walk on another floor node.

hi @darkmatter, could you possibly share some of the code to help us better understand the issue? Thanks!

This topic was automatically closed after 166 days. New replies are no longer allowed.