Hello!
So in my current scene that I’m working on I have a bit of code that creates and loads a character (With a random set of customization options) into the scene. The character is in its own game object (called “MainCharacter”) and has an Animator component and a Skinned Mesh Renderer component.
The Animator component has the Avatar already set but it does not have a controller. Is there any way that I can either
A: Add a controller that I’ve already made,
B: Re-Create the Animator with the controller and the avatar, or
C: Make the main character the child of a pre-made game object with a controller but dynamically assign the avatar from the MainCharacter to the (now) parent object. (Will this even work?)
D: Go about animating things in a completely different fashion.
I’ve currently been toying around and trying to get option C to work but I feel like there is a much more efficient and less abusive way to get this done…
This is also my first serious foray into Unity so any help would be appreciated even if you don’t have a direct answer to my question.
Thanks!