        .then(skinImg => {
          mesh.setImage(skinImg);

          onupdate = (hmd, gamepads) => {
            const hmdEuler = localEuler.setFromQuaternion(hmd.quaternion, localEuler.order);
            const playerEuler = localEuler2.setFromQuaternion(mesh.quaternion, localEuler2.order);
            const angleDiff = _angleDiff(hmdEuler.y, playerEuler.y);
            const angleDiffAbs = Math.abs(angleDiff);
            if (angleDiffAbs > Math.PI / 2) {
              playerEuler.y += (angleDiffAbs - 