First off, I think that this type of project would be better hard-coded, then to use a physics engine.

Second, one way is to measure the tanks horizontal velocity, and then move it just as much the opposite direction the next frame, however, this is kind of a dirty way to solve this.

Also, look into damping (air friction). If you set a very high Y damping, then it shouldn't move sideways at all...


xXxGuitar511
- Programmer