Ah, I’m not too familiar with glTF bones. It looks like you’re right that you have to use the Transform Node according to the glTF Skinning Documentation.
Can you show an image/video of how setting the Transform Node’s rotation gives an unexpected result (preferably while the skeleton is in a T-pose)?
I work with .babylon instead of glTF, so maybe that’s why I haven’t seen this issue. There may be a special way to rotate glTF bones that our glTF expert @bghgary could help us with
Do you have any suggestions on this topic? I actually saw some of your tickets that you help with but I could not find a solution. Also, all the Docs have examples with .babylon file as well.
This is difficult to help without a playground or something so I can look at what you are doing. Can you provide some code / assets (ideally a playground) to look at so I can more easily help?
Sorry for late replay just found a bug in Babylon that I was investigating for you for some time Opened ticket today
So here is a PG:
And the problem is I need to get Bone Transform node to rotate the bone.
But I can only use rotate function that takes increments of rotation.
i would like to use GSAP with the animations and I need to have a angle value and animate it like that:
Animation 1:
Form 0 to 30 deg.
Animation 2:
From 30 to 60.
Cancel Animation:
Rotation back to 0 so it will animate from any angle to 0.
and it needs to be back to 0 so initial position.
When I use increments I cant use GSAP that takes a value from X to Y and animates value in between.
Method setRotate looks promising but it does not exist on TransformNode.
So how I can ratate that bone in its local coordinates system like the gizmo does?
When I grab the gizmo of that bone and only pull by red circle its doing what I want but then It uses Quaterion that is animating 4 values and that mess up the animation. Already tried that.
Basically, the Arm has an existing rest rotation and set absolute angles relative to the rest rotation. That’s what I did in the playground. Is this what you’re looking for?