解答: 將這段程式加到 fillScene() 末端:

1
2
3
4
5
6
// solution
handRight = new THREE.Object3D();
createRobotGrabber( handRight, handLength, robotHandRightMaterial );
// 移動到前臂末端
handRight.position.y = faLength;
forearm.add( handRight );

render()handLeft 後面:

1
2
3
4
// solution
handRight.rotation.z = effectController.hz * Math.PI/180;    // yaw
// 取負號往反方向走
handRight.position.z = -effectController.htz;    // translate