BoxWrap2D & setting gravity to the centre of the screen
in
Contributed Library Questions
•
2 years ago
Just wondering if anyone has any experience in attempting to do this ?
Played around with the setGravity(float, float) function a lot, and kind of understand what it does, vis-a-vis the Box2D/Processing screen world, but I can't for the life of me find it in the javadoc, and it doesn't work for my case regardless.
I've read
this example on the Box2d Forums, but it is using radial values to simulate world gravity, so that won't do in my case...
Thoughts are welcome.
Links:
1