I’m searching for a way to avoid the collision triggered by flipping a node.
let flipXAction = cc.flipX(true); this.node.runAction(flipXAction);
When this is executed, if my player is inside a collider, the collision is triggered for a second time. I tried setting a temp variable (isFlipping) to skip the second collision, it works ok except in the case where i have 2 colliders for one node.
I’m wondering if there is a way to simply not trigger the collision.