You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am generating valid GLTF files from raw model data. The Node transforms in my data come in mat4 format so I have been using the node.matrix property to dump that data in. My GLTF file loads perfectly fine in Blender, but does not load properly in Godot. After many, many hours of tinkering, of which I will spare the details, the primary issue ended up being that Godot just doesn't read the matrix property and I had to decompose my matrix into the TRS values. I suspect this omission is due to Blender spitting out GLTF files with TRS properties and never the matrix property, and an assumption that Godot users will primarily be using Blender.
Steps to reproduce
Generate or modify a valid GLTF file such that the nodes use the matrix property rather than the TRS properties
Import model into Godot
Model should now have a very strange structure presumably from default TRS values being used rather than the provided matrix
Godot version
4.1.2
System information
Godot 4.1.2
Issue description
I am generating valid GLTF files from raw model data. The Node transforms in my data come in mat4 format so I have been using the
node.matrix
property to dump that data in. My GLTF file loads perfectly fine in Blender, but does not load properly in Godot. After many, many hours of tinkering, of which I will spare the details, the primary issue ended up being that Godot just doesn't read thematrix
property and I had to decompose my matrix into the TRS values. I suspect this omission is due to Blender spitting out GLTF files with TRS properties and never the matrix property, and an assumption that Godot users will primarily be using Blender.Steps to reproduce
matrix
property rather than the TRS propertiesMinimal reproduction project
TRS model (expected behaviour)
buma.zip
Matrix model (unexpected behaviour)
buma (2).zip
Ignore the orientation of the model~
The text was updated successfully, but these errors were encountered: