Ray Casting in Farseer?

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

Hey,

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.

Thanks,

El-Presidente

Coordinator
Dec 27, 2009 at 6:58 PM

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