- Home /
I want to change the gravity in a 2d game with the click of a button.
Basically like VVVVVV. I've looked around for answers regarding my question but all the answers have just confused me more.
Comment
Don't completely understand your question. For 2D:
Physics2D.gravity = someVector2;
Answer by Slev · Sep 20, 2014 at 06:53 PM
The Physics.gravity field represents the gravity being applied to all rigidbodies, changing that should change the gravity.
Your answer
