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

Geom collides with vector

Apr 25, 2009 at 1:59 PM
Hello! Is there in Farseer a method to check if a vector intersects a geometry? 
Apr 25, 2009 at 3:32 PM
You can use PhysicsSimulator.Collide() to check if a vector2 collide with any geometries. It will return the geometry that collides with the vector2. You can also use PhysicsSimulator.CollideAll() to get a list of geometries that collide with the vector2.

If you want to know if a specific geometry collide with a point, you can use Geom.Collide().