A question about gravity

Hi there, was just following the course and the physics side of things really interested me. From the video, I see that you can cause the ball to drop by adding the effect of gravity on it.

However, would it be possible to change the gravity settings itself? For example, instead of making it such that the ball falls downwards (because gravity acts downwards), could we change it such that the “centre of the earth” is somewhere on the right side of the screen, so that all balls “fall” towards the right?

1 Like

Hello,
Sure, you can change the gravity to whatever vector 3 you want, the option is under edit > project settings > physics/physics2D.
You just can’t make it act like the actual gravity that pulls towards the center of the planet. Although you could write a custom gravity script to behave like that.

1 Like