Will produce wrong nested transforms for meshes that are inside of a parent with identity transform inside of the blend file.
The wrong output looks something like this: we have a root node with a rotation, and then the child node with an additional rotation:
However, if we modify the blend file to remove the parent (which has identity transform, so the final transforms should be exactly the same after doing this operation), we don't get a parent node anymore, but the mesh node has exactly the same transform as in the previous excerpt:
Running the exporter on the following file: https://github.com/godotengine/tps-demo/blob/master/level/geometry/demolevel.blend With the default option: Y up, Z Forward
Will produce wrong nested transforms for meshes that are inside of a parent with identity transform inside of the blend file. The wrong output looks something like this: we have a root node with a rotation, and then the child node with an additional rotation:
However, if we modify the blend file to remove the parent (which has identity transform, so the final transforms should be exactly the same after doing this operation), we don't get a parent node anymore, but the mesh node has exactly the same transform as in the previous excerpt:
We should end up with the same derived rotation in both case, however:
{ 0.0, 0.7071, 0.7071, 0.0 }
and{ 0.0, 0.04906, 0.0, 0.9988 }
{ 0.0, 0.04906, 0.0, 0.9988 }
, which seems to be the correct one, the first case being wrong.