This project has moved and is read-only. For the latest updates, please go here.

colisions with a vector2

Mar 3, 2009 at 2:25 PM
Hi this physics engin is amazing but i am unable to workout how to detect if a vector2 intercest and object. for example checking to see if the mouse has clicked on an object. thx for any help on this matter!
Mar 3, 2009 at 5:32 PM
Try out the samples, they do exactly that.

It's done like this:

PhysicsSimulator.Collide(new Vector2(200,300));

Really simple.
Mar 3, 2009 at 11:44 PM
Intercest love it!

Welcome to Farseer!