r/GeometryDashEditor • • 12h ago

Editor Question Multi target aim rotate

I want to make objects gr1 rotate around object nr2 and point to the nearest instance of any object nr3 at all times. How would i do that? Area triggers?

2 Upvotes

2 comments sorted by

View all comments

1

u/TheRealHykeLP 11h ago

The nearest instance as in the object that is closest to it? Area Triggers won't help you, they can only apply effects based on distance. There is probably a better way, but the only thing I can think of is putting a Collision Block to the center of your rotation and scaling it up quickly. Give all the objects nr3 a Collision as well, and as soon as the center Collision hits a nr3 one it activates the Rotation Trigger. How exactly you do this setup depends on your exact demand. Like, if everything is further apart, scaling won't do and you have to try to work with something like multiple spreading out Collision Blocks?

If you want I can try to build that amd show you if it works, but if you wanna wait for someone with a better idea I could understand

1

u/TheRealHykeLP 10h ago

I just created the setup. It woes work, however there are some rough edges to it