Is setting joint rotations still possible?


#1

Interface, no scripts running …
Albert avatar, starts off in T-pose but shortly thereafter arms relax to hang vertically by his sides …
Run a test script that tries to do …

MyAvatar.setJointRotation("LeftArm", Quat.fromPitchYawRollDegrees(45.0, 0.0, 0.0));

… and similar to arm, forearm, and hand joint rotations.

But Albert’s arms don’t move.

What am I missing? Is MyAvatar.setJointRotation() still able to be used? Does Interface need to be specially configured somehow? Does the script need to enable or disable something?


#2

Yes, but you have to disable the Anim Graph and Rig Animations. Make sure Developer > Avatar > Enable Anim Graph. and Developer > Avatar > Enable Rig Animations are both unchecked.

Note: there is a pending PR where this is fixed, i.e. set Joint rotation will work always.


#3

Thanks @hyperlogic … that did the trick. And it’s great that that PR is in the works.


#4

@hyperlogic Which PR is it that will let set joint rotation always work?