Reputation: 391
I have a box2d body that has a fixture of a ball. It just bounces up and down on top of a rectangular box. Sometimes it will fall off of the box for no apparent reason. I there a way to restrict gravity to only vertical so that I can solve this problem?
Upvotes: 1
Views: 411