Interactive look at 2D animation
Hiya,
I was wondering if it's possible to switch between an idle and active 2D sprite animation using the interactive look at?
My plan is to create several 2D boiling gifs and have them placed around the 3D stage. Here, another question: Is it possible to have two or more independent sprites that are interactive separately?
Thanks,
Julia
Hi Julia,
I modified the LookAtAnim script to also support SpriteVisuals and play animated sprites. I pasted the full script below.
It should also be fine to have multiple objects reacting to Look At this way. If you need each sprite to animate separately, you can duplicate the textures and assign a different copy of the texture to each object.
Hope this helps!
Hey Jacob,
Thanks so much for helping! Everything works perfectly!
All the best,
Julia