I have 1 physical object that should be destroyed when it collides with a copy of itself.
But it doesn’t work.
Help me to understand this issue.
I used the distance check.
I tried the collision of the physicist’s behavior.
I tried the usual collision.
Here are the settings of my physical object
I will be grateful for any tips on this issue
I tried your example and it seems to be working for me.
What’s not working for you and what happens when the objects collide?
Are you trying to delete 1 object or both?
Thank you. You have been very helpful.
I was at a dead end.
But when you wrote it, I looked at my code with a fresh eye and realized that I was using too many unnecessary variables for this object, which was interfering with it.
I made a simplified version and everything worked.
tried to delete both objects