I'm making a game where player drags a boat around using finger. I'm using Box2D for the physics aspects of the game. In particular, I'm using b2MouseJoint
to attach the touch event to the boat to let the touch event drag the boat.
But there is one problem, that the way the boat moves while it is being dragged is not realistic; it can simply be dragged at any directions, where as in real world a boat can only move along its length and there will be water resistance that makes it hard to change the direction of the boat movement. Thus, I need a way to simulate water resistance to make the boat movement realistic.
Is it possible to simulate it in Box2D? Linear damping and angular damping simply make the boat hard to move, but I just want the boat to be easy to move in one direction and it should only resist changing of the direction.
P.S. I don't think I need to post my code for this question, but do let me know if you want to see the code excerpt.