I have had no issues with animating a door using my character but I have had a bit of trouble in getting a set of animations to play that I have created for the other characters in the room, upon interaction with a game object (cube). I am very new to scripting and have searched for the answer with no luck on this specific topic. Any help in just understanding the proceedure in how something of the sort could be scripted would be an absolute life saver. Thank you all in advance for any help you may be able to provide.
You already know how to trigger an animation from a script; the only difference here is that you need to do that for multiple game objects. Just have an array of game objects in your controller script (you can set the array values via the Inspector) and, when you want to trigger the animations, loop through that array trigerinng the animation on each element individually.
Thank you laurie.