0 votes

Typically a rigid-body object would go down (or up if you negate the value), but how do you make it go right (or left if you negate the value)

in Engine by (116 points)

1 Answer

0 votes

I think this question has already been answered. You can do this by changing the global gravity settings or using an area2D's gravity-changing capabilities. I do not know of a way to change a single rigidbody2D's direction of gravity.

by (629 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.