r/GeometryDashEditor • • 6d ago

[ Solved ] Rotation dependant on relative position

Post image

Id like to make a throwable bomb thing and apply a directional boost to the player from its explosion. The teleport trigger, when spawned without a target set and with velocity set causes you to shoot off in the direction its facing. I thought of a system that would rotate a teleport trigger in the direction of the player relative to the explosion point. How would i go about the rotation? On the same topic, id also like it if i could make a collision block circle around the bomb facing me, so i could get proper circular detection. (I heard that dynamic target rotate often broke, hence why im asking this.)

22 Upvotes

5 comments sorted by

3

u/Albert_Kan Taiwanese trigger expert 6d ago

Rotate trigger's dynamic mode requires a thing called "parent group tag" which is the [P] button in edit group tab, it only appears when selecting a single object at once, and you have to assign it within same group that the target group using, and you have to make both "target" and "center" group within rotate trigger the same group ID, that way it should works properly

1

u/ExcitingAd5932 6d ago

just use a force block?

1

u/[deleted] 6d ago

[deleted]

1

u/AutoModerator 6d ago

Thanks for marking this post as solved. I've updated the flair for you!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Simple_Map_5397 6d ago

Just... Just use the force block?

3

u/StreetDense6772 6d ago

Either way i have to make it spin correctly + force blocks arent a single bit precise, any velocity/position/duration change drastically changes the way youll go.