Can you share the project please?
1 Like
CannonBox script needs to listen to the destroy event and remove the box from the Cannon world.
1 Like
Can you show me how to do this, sir?
Example here on listening for the destroy event: https://developer.playcanvas.com/en/api/pc.ScriptType.html#event:destroy
*it can’t listen for my destroy event
*
i fixed it, thank you sir
1 Like