A
A
Alexander Interesting2021-10-28 23:41:04
Box2D
Alexander Interesting, 2021-10-28 23:41:04

How to move a Box2D physical object?

I use Java, but it's not that important, since everything is identical there.
When I call Body#setLinearVelocity(new Vector2(100, 0)) then I lose gravity, how can I change x while maintaining gravity?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question