This project has moved. For the latest updates, please go here.

Contact Position

Topics: User Forum
Feb 1, 2011 at 2:40 AM
Edited Feb 1, 2011 at 2:59 AM

hello all,

i'm trying to do a shoot them up with physics, and now i try to add some particle at the contact position  point between to body ( a simple bullet and a Polygone created with a texture). 

i looked on the contact.manifold but i'm totally unfamiliar whith this.

if some one have a clue...


ps: i'm using Farseer 3.2 

Feb 1, 2011 at 6:38 PM

Call contact.GetWorldManifold() and use the points array you get.

Feb 3, 2011 at 2:17 AM

thank you.

                    Vector2 vec = Vector2.Zero;
                    FixedArray2<Vector2> fx;
                    contact.GetWorldManifold(out vec, out fx);

that's working, juste a little problem with my camera position for my mercury particules.   


best regards.