I have been working on a lunar lander type game for Box2D in libGDX in java for quite some time and am running into 1 major problem:
->Mainly the co-ordinate system between libGDX and Box2D.
---> the second problem that arises from this is the application of forces to bodies and how to render them.
my question is then mainly:
Is there a way to render forces in Box2d? say for example a .showForces command or such? that renders an arrow (with direction and magnitude) and where on the body that a force is currently acting.
If not how can I do this? I am having a hard time trying to match the sprites of libGDX to the co-ordinate system of Box2D to attempt the above.
Any advice would be kindly appreciated ,
Discuss issues specific the Java port of Box2D
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest