Hi,
I’m getting wierd errors for my animations with the new import workflow.
It look’s like some bones are rotated 90°
Here is a little test project:
https://playcanvas.com/project/849912/overview/animation_test
Same model and animation. One is imported with the new workflow and the other with the old workflow.
1 Like
yaustar
November 11, 2021, 1:08pm
3
Interesting, doesn’t seem to be animation related as using the Anim component with the Model Component works fine:
https://playcanvas.com/editor/scene/1270486
yaustar
November 11, 2021, 2:14pm
4
Investigated a bit. Looks like the old Model method, there is an extra node called ‘RootNode’ created:
When I mimic this with the render component hierarchy by creating a new Entity and having the template as a child, that runs correctly as well:
I’ve updated the project:
https://playcanvas.com/editor/scene/1270486
1 Like
yaustar
November 11, 2021, 2:15pm
5
May also be worth mentioning that the animation paths are like the following:
RootNode/Ausschalecke/Ausschalecke_Root/Ausschalecke_Ecke_4_Root/Ausschalecke_Ecke_4/Ausschalecke_Ecke_4_4/
1 Like
@yaustar
Just tested your workaround and it seems to work. So is this an import error with the new hierarchy workflow?
yaustar
November 11, 2021, 3:22pm
7
Maybe? This is something to be looked at with Elliott and Martin as it should work in it’s previous state to my knowledge
yaustar
November 11, 2021, 5:48pm
8
1 Like
I just want to chime in that this is a problem for us as well. Animated objects that worked using the old method doesn’t work with Import Hierarchy enabled. We can work around it by manually adding a dummy object in our modeling package (to act as our RootNode), then parenting the bones and mesh to it before exporting.