These are chat archives for highfidelity/hifi

10th
Apr 2018
Nex-Pro
@Nex-Pro
Apr 10 2018 14:00
hey folks. Is there a way using the API to get the position of a joint in an animated entity ( not MyAvatar ) ?
Clément Brisset
@Atlante45
Apr 10 2018 17:59
Yes, Entities has some joint functions.
Oh wait, nvm, it's only to set.
Oh no, there's get too.
All clear
Entities.getAbsoluteJointRotationInObjectFrame(QUuid,number)
Entities.getAbsoluteJointTranslationInObjectFrame(QUuid,number)
Entities.getLocalJointRotation(QUuid,number)
Entities.getLocalJointTranslation(QUuid,number)
Takes the EntityID and the JointID.
@Nex-Pro ^