You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First you detect the collision using onCollision hook (don't forget scene filters). Then you get actor pointer from collision callback, verify that it's valid (flags), and remove it (scene.removeActor is a thing, but you can just drop the actor, and it'll remove itself the scene on cleanup).
This is pretty long list of things to do, is there any particular part you have trouble with?
Actually i tried to remove actor on collision but got some error right now i am away from my work machine i will post source and error. Thanks @rlidwka.
Currently i am trying to remove an object from scene when it collide with a specific object does anybody know proper way to achieve this scenario.
The text was updated successfully, but these errors were encountered: