Rotate around an object with distance

Hello, its me again, im curious if you can rotate an object around object with distance

There’s an extension for that.
https://wiki.gdevelop.io/gdevelop5/extensions/orbiting-objects/
I haven’t used it myself but I suppose you probably could figure it out.

There are also a bunch of other ways you can go about it without the extension.
Like using the action “position the object around another” and set up some conditions and actions to change the angle while keeping the distance constant. But obviously the extension would be the easier approach.

Oh and here’s a previous post that should help if you decide to go at it manually:

Thank you, i cant find it in mobile but thanks

Sure. You’re welcome.
On mobile, click on “search for new extensions” and search for “orbit”
It should look like this:

Wow, thanks for helping :grin:

1 Like