Force of collision

6 views
Skip to first unread message

Bobby5808

unread,
Jul 18, 2009, 5:29:09 AM7/18/09
to Physics2D.Net
Hi

Where does the engine calculate the force when objects collide? Id
like to get this force and put it into the CollisionInfo in the body's
Collided event. I just cant find it! :)

I read this on the Farseer forums : http://farseerphysics.codeplex.com/Thread/View.aspx?ThreadId=59433
and thought Id try it with Physics2D.Net. Itd be pretty usefull to
me.

Thanks

JonoPorter

unread,
Jul 20, 2009, 11:20:18 AM7/20/09
to Physics2D.Net
The problem with this is that the impulse (its impulse not force) that
is applied is calculated several times in a single time step. If you
want to get the exact value you will need to modify the arbiter (I
think this is its name) and add a net Impulse
field. Also have to take into account that the impulses are calculated
and applied for different points.
Reply all
Reply to author
Forward
0 new messages