Friday, December 17, 2010

Farseer Physics - Raycasting Demo

Hmm, I'm not sure what is the proper way to implement laser but this is what I did by using Farseer Physics.

Sample screenshots:
*The laser colliding with obstacle, the laser will stop

*The length of the laser is following my mouse cursor.

Video demo:




Basically I'm just using Raycasting provided in Farseer engine and try to implement some demo.
It's just some simple test out anyway XD

If you are interested to download you can get it here:
(You need to install at least version XNA 3.1 redistributable before you can run it)

No comments:

Post a Comment