Hello. I am testing out this new orbit behaviour. It's good.
If I have one ball with a drag and drop and when I move it closer to another ball I want it to orbit.
This is tricky because < than x, or > than x won't work because the ball only starts it orbit at certain places around the main ball.
Basically, how do you make the ball go into orbit if its 30 px away from the main ball. This needs to work at a 360 degrees.
I have looked and only found construct forums from 2014, and even then most where using physics behavior.
The answer is is maths, but I dont know the best way to write it.
Thanks for any help.