This project has moved. For the latest updates, please go here.

Shoot ball from canon

Dec 26, 2010 at 10:00 PM

What i would like to do is fire a ball from a canon and then give it some velocity and gravity.

Can someone point me in the right direction.


Dec 27, 2010 at 1:15 AM

I recommend you take a look at the samples. If you are new to physics engine or Farseer in general, I recommend you take a look at the Hello World project (under downloads).

Once you have created your ball, it is just a matter of applying an impulse to the ball in the direction you need the ball to go.

Dec 27, 2010 at 10:19 AM

Thanks, this has given me something to play with.  :)