浏览代码

Move the cube closer to the face

/3.1
Tim Mowrer 5 年前
当前提交
cd5e0679
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Assets/Scenes/FaceTracking/DisplayFaceInfo.cs

2
Assets/Scenes/FaceTracking/DisplayFaceInfo.cs


{
m_FaceControlledObject.transform.rotation = face.transform.rotation;
var camera = m_CameraManager.GetComponent<Camera>();
m_FaceControlledObject.transform.position = camera.transform.position + camera.transform.forward * 0.7f;
m_FaceControlledObject.transform.position = camera.transform.position + camera.transform.forward * 0.5f;
}
}
}

正在加载...
取消
保存