Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | lalel345 |
I want that when the player moves to have gravity towards the center of the ball.
normally i do this.
var velocity = Vector2()
velocity.y = Vector3.DOWN * gravity
this only works when the terrain is linear