- Home /
Identify and Reference Intersection of Graphics Objects?
I'm wondering if there might be a way to do this readily.
Let's say I have a collection of meshes, as shown, and they intersect one another. Is there a way to "get" the points along the intersections, or reference them somehow?
http://img109.imageshack.us/f/intersections.png/
Any ideas for how to go about this or where to read up would be helpful.
Thanks!
Answer by efge · Feb 23, 2011 at 02:40 PM
You could use Bounds.Intersects on a Collider which gives you the world space bounding volume of it and then call the function ClosestPointOnBounds.
(not really an answer, but maybe a starting point)
Edit:
Maybe Collision.contacts is the way to go.
Hmmm... maybe I can futz with the way the collision is defined... Thanks for the suggestions.
Bumping this thread, I'm trying to figure a way to do this too. Anyone make any break-thrus?
Just curious; Could I use this to find the contact points between a compound collider rigidbody object and a rigidbody trigger? It seems Collision.contacts cannot be used with Triggers. :(
Your answer
