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
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.
Ok thank you! I will try it.
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.