I would like to display a 3d model of a skeleton (human body), using React Native.
Then if I would like to set the position of specific bones of the human body, I would like to call a function like:
setPosition(3dmodelObject,boneId,yaw,pitch roll);
or
setPosition(3dmodelObject,boneId,w,x,y,z); // If using quaternion
example:
setPosition(myHumanSkeleton,foreArmId,30,45,70);
setPosition(myDogSkeleton,tailId,12,40,40);
Can someone point me in the right direction so I can get started ?
I've noticed there are a number of libraries (example: Three.js), but I can't seem to tell if any of them allow me to select individual bones of a 3d model, and set its orientation using an euler angle, or quaternion.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…