Changing the direction of the global gravity

Can I in real time change the vector the gravity is using?

1 Like

Not currently. You have to do physics sim yourself if you need that.

Box2D is able to do this right? Will this be exposed in the future? :smiley:
Because it’s a bit annoying (and not free?) to do it for every object.

1 Like

I need this now too for a project. I’d like to change the box2d gravity x,y at runtime.

Would it be possible to get this sooner with a native extension that can interface with existing box2d code?

1 Like