Hello! I made a basic circular plat-former with gravity but I want my character to run inside the planet and not outside. As of now I used the Platform behavior with the platform set angle and player set angle to this function "angle(Player.x,Player.Y,gravity.X,gravity.Y)". It works perfect if I go outside the planet but I want it inside.
Thank you for your time guys!
By inside do you mean the gravity is always away from the center of the planet?
If that's the case you can just reverse the objects in your expression like this:
angle(gravity.X,gravity.Y,Player.x,Player.Y)
Develop games in your browser. Powerful, performant & highly capable.
R0J0hound It works like a charm! Thank you very much.