phys2d question: why is my gravity backwards...

looking at the phys2d demos, the gravity there is set as positive…

however when i set mine to positive my bodies go upwards~!

what is causing my positive gravity to move the bodies upwards?

hmm well i know i can just set my gravity as negative… but im still wondering why this happens

What graphic API are you using ?

For the demo, it is java2D. The Y axis is up to down. If you use an opengl binding, the “Y” axis is down to up. It all depend on how you do the binding betwen the physis object and the rendering.

oh i see~ im using java3D… i think i get it… different graphic API have different Y axis representation…