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

Ray Casting in Farseer?

Topics: Developer Forum, User Forum
Dec 27, 2009 at 5:03 PM


I was searching for a while before about whether or not ray casting will be included in Farseer soon. Is it going to be out only in FPE 3 when that comes out? Is there some way to sort of fake it without a lot of error range? Otherwise, is there any other physics engine that includes it, maybe Box2D.XNA? I'm kind of new to XNA, and have been using Farseer for about a week, but am afraid that this is putting / going to put a roadblock in my game's production.



Dec 27, 2009 at 7:58 PM

Raycasting is already included in Farseer Physics. Use the RayHelper class to create rays.