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

Ray Collisions and Game Logic

Topics: User Forum
Oct 22, 2009 at 2:29 PM

Hi, first of all Farseer is great, been a dream to use.

I'm ray casting some bullets, giving me a geometry list but I'm a bit stuck after then because that information needs to get to the game entity it belongs to. I was looking for a general collision event I could use on Geom or Body for that purpose that could be called manually on a ray cat hit, I didn't find anything yet though. Am I on the right path, or should I be looking to extend the Geom class?

Oct 22, 2009 at 2:50 PM

As is usually the way, just after I wrote that I found the Tag property on Geom and Body, that should do it. :)