- Home /
Question by
TheManSquid · Jul 31, 2016 at 12:19 PM ·
collision2d-physicscontact.point
2D collisions not showing all contact points
I've used Unity before but I'm newish to Unity 2D. Anyways I'm trying to detect all collision contact points on a circle to see if they are opposite of each other. I'm doing this because I want to be able to detect if a falling object which lands on the circle will it crush it. But when I try to obtain all the contact points in my code all it ever shows is only 1 contact, even when there are two objects touching the circle. As you can see, there is a box touching the top of the circle and a "wall" touching the bottom of the circle. Yet the script on the circle is only printing one contact point. Why is this and is there a way to fix it?
unity-help.png
(44.9 kB)
Comment