J-Andersen-UvA / BabylonSignLab

1 stars 1 forks source link

animations and meshes are now comming from npm fbx2gltf instead of co… #29

Closed J-Andersen-UvA closed 1 month ago

J-Andersen-UvA commented 1 month ago

…cos. This makes the mesh look a lot nicer, and there is no need to implement other tools such as cocos and gltftransform

J-Andersen-UvA commented 1 month ago

We still need to figure out how to do the remapping, we cannot do that in the clone function: When using a mesh, and importing an animation, I came across an issue where I had no targets in the clone function (where I do the retargeting). Tracing this code, you might say that it is the animation importers fault for not adding the targets, but the animation not having any targets actually makes sense. The imported animation has a lot of animation keys and values, but no target because it is not driving any skeletalmesh. Therefore, you cannot use the clone function to do retargeting on different skeletalmeshes (or differently converted/imported skeletalmeshes).