Once rotate bone, model keep to TPOSE

I follow this PG

i can control model pose via click joint and gizmbo.

BUT, i change model to my own, i cannot rotate, model keep TPOSE always…

here is my PG

i have stop all action in code.

any problem on blender setting?

This is related to Bone link transform.
Check line 37 in this PG : https://playground.babylonjs.com/#CN4KJL#191

cc @Evgeni_Popov

AMAZING!!

it move!!
thank you very much!

but seems left/ right mistached? eg. rotate left hand, right hand link rotated…

It’s a LH/RH coordinate issue : https://playground.babylonjs.com/#CN4KJL#192

I’m not sure how to fix it properly for LH.

1 Like

When you load a glTF, the bone transformations are reflected by transformation nodes, and it is these that are important (they are the ones that are updated by an animation, for example). With each frame, these transformations are copied into the bone transformations. This is why updating the bone transformations does not work; instead, you must update the transformation node. You can find the transformation node linked to a bone by doing bone.getTransformNode().

Here’s a fixed PG:

5 Likes

thanks thee very much!!