Collision when the button is pressed
Cocos2d-x C++ Physics-
nightrobinLikes 0Problem Description
Good day,
What is the workaround if I want my physics bodies to pass each other but only have collisions when I press a button?
I read that onContactPreSolve and onContactPostSolve will not be invoked when onContactBegin return false.
-
Sonar Systems adminLikes 0
Collision as in physics
-
nightrobinLikes 0
yes, as in physics.
-
Sonar Systems adminLikes 0
Try detaching the physics body.
Login to reply