GetWorldManifold Question

Topics: Developer Forum, User Forum
Aug 18, 2011 at 6:38 PM

I am trying to use GetWorldManifold(out Vector2 normal, out FixedArray2<Vector2> points) to get the point of impact.  The question I have is which of the points in the array do I use to get the contact point.  Is one point for Fixture1 and the other for Fixture two?  Do I have to do something with both points to get the true contact point?  

I have also heard that you should use the afterCollision event from the body fixture to get the manifold or else the points and normal could be 0.  Is this correct?

 

Thanks