- Home /
Strange Collisions (...as there should be none!)
Hi everybody,
I'm facing a strange issue and I hope someone can help me figure it out.
When I start my project in playmode OnCollisionEnter is called multiple times, even as there should be no collisions happening. I logged what should've collided, checked it in the scene and made a screenshot for you guys... :) The DefaultContactOffset is set to 0.01 and by looking at the grid I think the distance between this two colliders is more than that. However, when I set it to 0.001 there are no collisions, but I actually want an larger offset to be honest. Any ideas why this is happening?
As you can see from the screenshot I arrange my CompoundColliders as follows: GameObject with Rigidbody --> GameObject as Container for Colliders --> Gameobjects with Colliders
...is there anything wrong with this?
I'm looking forward to some advice! :)
Best regards mat
Your answer
Follow this Question
Related Questions
OnColliderEnter2D not working 2 Answers
How to detect which side of my player has collided? 2 Answers
Can I have a single rigidbody2d that acts as both collider and trigger? 1 Answer
Objects don't collide 1 Answer
Is there a better way to check for a collision with a prefab than by name or tag? 2 Answers