- Home /
Add an effect animation to main character?
Hi. I'd like to add effects made with custom animation to my character that will be active at specific times. Kind of similar to street fighter when birds fly around a stunned characters head, only when character becomes stunned. I'm not sure how to go about this, but I'm guessing if make a model and animation loop externally, import to unity, child it to my character in the correct transform position (like above the head to keep with the street fighter example) and write a script that would make it visible when needed. Does that sound logical? I'm i missing any major steps? Also any code ideas would be helpful.
Thanks!
Answer by Waelwindows · May 14, 2015 at 01:45 PM
Well you could use a animation using the Mechinam system to animate the birds coming smoothly and rotating and well everything you want, then you would place a bool as a parameter and make a transition to the birds animation, and then you would set the bool to true on your condition and and everything you want with it
If you want a idea how to do this here's a guide made by Unity : https://youtu.be/R8O8Y6xP79w?t=5m20s
( PS: the video was made in 4.6 but it should work with Unity 5 )
Your answer
Follow this Question
Related Questions
Project Scripting - Tracking variables (General Question) 2 Answers
How Do You Parent an Object With Scripts? 1 Answer
What does the word for mean in javascript? 1 Answer
Why button is not display the window 2 Answers
Game is Paused Menu shows up 0 Answers