Animator vs Animation Clip via Scripting
So I've created an object within my scene that I want to do 2 things: Animate when gazed at, and scale when tapped. I created an animation clip to scale first and enabled it via script using anim.enabled = true
after initially setting it to false in the Start()
function. I created a FocusChange (for the change on gaze) Animation Clip within that same controller and since I'm trying to call two different animations being applied to the same object I'm wondering exactly how I would go about doing this especially since you can't use two Animators on the same game object.
I tried using an Animation Component instead of the Animator, but the scaling transition was very abrupt and lacked the smoothness it had when I used the Animator with a Controller.
I've gone through tons of searches and trial and error but i feel like I'm overlooking something very simple to call these animations via script.
Your answer
Follow this Question
Related Questions
Character Animator controller/movement 0 Answers
How do I puse an animation? 1 Answer
How to set the blend tree threshold value during run time? 0 Answers
Why default animation state rewrites scale of an object? 0 Answers
Animation Running Game 0 Answers