play complex animation by clicking on one part of the animated parts?

Hi,

is it possible to play an animation where multiple objects are animated by clicking on only one object using raycast? I can only find tutorials which show this technique with one object (clicking on a door so it opens).

thanks in advance

Part of 1 animation or separate animations?
Either way sounds possible. Lots of animations involve multiple parts (imagine a character animation).

You should be able to start it much the same way you’d do with the door. :slight_smile:

1 Like

Ok thank you! I will try it. :slight_smile:

It is basically one animation consisting of multiple separate parts.

Cool. If they are all children of 1 root object, I believe you can have colliders on each part, and 1 script on the root object for intercepting the click and playing the animation.