Using AndEngine Physics Box2D i am trying to drag a body from side to side on the x axis.
This is what i have so far which isnt working correctly, the body moves up on the y axis and it doesnt follow the pointer(finger)
int P2M = 32;
final Vector2 v2 = Vector2Pool.obtain(x / P2M, this.getY() / P2M);
body.setTransform(v2, 0); // if you want you can also set the rotation here
Vector2Pool.recycle(v2);
Anyone familiar with doing this?