Jump to content

[SOLVED] Why coordinates of bone from LayerBoneTransform and BoneTransform are different?


photo

Recommended Posts

Hi,

 

when i call function getBoneTransform(*) and decompose it i get position with this axis orded vec3(x,y,z), but when i call function getLayerBoneTransform(*) and decompose it i get position with this axis order vec3(y,x,z) in script on ObjectMeshSkinned class.

 

It bug that layer version of function for get bone transform have switched x a y axis?

It on 2.0 RC.

 

Thanks

Honya

Link to comment

Hi Jan,

 

Because getBoneTransform gets bone transform in global coordinates, and getLayerBoneTransform get layer transform of the bone in relative to its parent coordinates.

Link to comment
×
×
  • Create New...