I have a cube (RigidBody) and a plane(mesh) that are colliding. I want to be able to return the array of intersecting vertices in which these two objects are colliding. Is there a function that I can use?
asked Feb 10 '12 at 08:19 PM
There is no function to do anything like that, you'll have to use... math.
What do you mean by "intersecting". A plane is a 2D object, so there's no volume for a vertex to be in. Do you mean you want to detect which vertices are on the other side of the plane?
This is pretty simple if you don't care about speed too much. You'll wanna run this math for every vertex you want to check http://mathworld.wolfram.com/Point-PlaneDistance.html
answered Feb 11 '12 at 02:07 AM