Quantcast
Channel: Latest Questions by f_rodrigues
Viewing all articles
Browse latest Browse all 18

Animation playing other object animation

$
0
0
I have a camera movement and when it reachs certain point it calls a function, in this function I want to play an animation in other object. The code: var Animator : GameObject; var clip : AnimationClip; function TriggerAnimation() { Animator.animation.CrossFade(clip.name); } ![alt text][1] [1]: /storage/temp/18754-animation_event.png But it doesn't play, it doesn't give any error and the script is all grayed-out. Any hint?

Viewing all articles
Browse latest Browse all 18

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>