I am building an Game based on Box2d with the following basic structure:
The Box2d World itself does not have any Gravity and is filled with some bodies (sheres and simple polygons) of more or less the same size. The user can select on of them and if he clicks on the free space, the selected body should be moved onto the "point of click".
The movement should be explosive, what the use of b2Body.ApplyImpulse suggests, but also stop quickly when the point is reached.
This leads me to two problems:
Which method should i use: ApplyImpulse or ApplyForce? How could I calculate the right vector of the impulse, if you would use this method?
How could I correct the body's way if it collides with another?