Imported an animated model using a CAT rig, the model comes through fine but as soon as the animation component and animation clip is assigned to the model the entire thing breaks (model, not playcanvas). Below is a screenshot of before and after the components are added, if anyone knows a fix or what could be happening please let me know. Or if these rigs just aren’t implemented in general that’d be good to know, thanks!
Ooh excellent, I’m not an animator myself so I haven’t looked into the rig that much I just thought I’d pose the question and see if others had experienced it!
I assume when it’s sent through the asset pipeline and converted into an engine ready animation it is skipping nodes because of the names already existing?
It’s more than the animation data contains an array of named nodes, where each node has a list of keyframes. When the animation is loaded, it uses the name of the node to link up to the correct node in the model’s hierarchy that shares that name. If the name is duplicated in the hierarchy, the first node with that name is returned - which might be the wrong one.