Search found 1 match

by jdleung
Wed Apr 12, 2017 3:36 am
Forum: Java
Topic: Inverted gravity problem
Replies: 1
Views: 589

Inverted gravity problem

I'm using jbox2d 2.2.1.1 in Android, I found all the examples on the web have a negative gravity(-9.8), but in my version, I have to set it to a positive value so that body can be pulled down by gravity, a negative value makes it goes upward.and I have to set it bigger than others. Vec2 gravity = ne...

Go to advanced search