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

Using FixedMouseJoint only in X direction?

Jun 22, 2012 at 3:49 PM

Hey folks,

here is what I am trying to do:

1) Move a farseer ball body based on swipe.

So, I swipe a certain X distance and the ball will travel that much distance in X while maintaining physics. So say, I swipe to the right and the ball is on a ramp, the ball will still move X distance to the right but it will climb up the ramp while it does that.

So you can see how gravity and physics are all preserved.

How do I go about using FixedMouseJoint to do this? I will really appreciate you guys' help on this, this has been bugging me for a while now.