Go.animate rotation of 2 sprites in one object (SOLVED)

I did some digging to see if I could find a topic on the subject but I never quite got a straight answer on rotating sprites specifically. I know I can go.animate the rotation of an entire object, however what I’m trying to accomplish is rotating two sprites on the same game object in opposite directions (one rotating clockwise while the other sprite is rotating counter-clock)

the documentation and forum questions I’ve found have lead me to believe I can’t do this, but I just wanted some confirmation and possibly a suggestion on what I could do instead. I suppose I could have the object create another object and parent each other (in case I want both objects to transform their positions together) but that sounds like a lot of resources used for such a simple effect.

Use collections as the parent “prefab” for these kinds of setups, along with collection factories. Then you can have multiple GOs each with their own independent animation. Inside of a collection, you can reference GO names relatively so you can say “left” or “right” when animating from a controller script. Using collections and multiple GOs is not a problem performance wise.

2 Likes