Using FixedMouseJoint only in X direction?

Jun 22, 2012 at 4: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.

Cheers.