add:三维旋转的三个方法;同时给不同部位上色方便区分

This commit is contained in:
Ichirinko 2023-02-22 19:52:36 +08:00
parent dba10abb29
commit ff2ae6b25c

View File

@ -32,7 +32,7 @@ private void Update()
_poseTransforms[index].MediaPipePos.y,
_poseTransforms[index].MediaPipePos.z,1);
//temp = RotateAxisZ(180) * temp;
//warning:乘法的顺序不能改!
//warning:乘法的顺序不能改!
_nodes[index].transform.position = new Vector3(temp.x, temp.y, temp.z) * 5;
//_nodes[index].transform.position = _poseTransforms[index].MediaPipePos * 5;