- Home /
Animator Controller for an object... what should it be?
In the inspector I can see my 3d model with animation component.
The controller reads: None (Animation Controller)
Inside my movement script that's attached to this model, I have this code:
if (Input.GetButton("Fire1")) {
animation.Play("Take_001");
}
When I hit Fire1 button, I get this error:
MissingComponentException: There is no 'Animation' attached to the "skeleton" game object, but a script is trying to access it.
I'm pretty sure the animator controller needs to be attached to a controller but I don't know what that would be. How can I fix this?
Your answer

Follow this Question
Related Questions
Can I export from Adobe Animate CC frames as individual images to be used in Unity? 2 Answers
Why do I get error when using yield? 1 Answer
Troubleshooting the spawn mechanic in a puzzle game 1 Answer
Disabling A Script on a GameObject From a Different Script 2 Answers
True False What am I doing wrong. 1 Answer