add:三维旋转的三个方法;同时给不同部位上色方便区分
This commit is contained in:
parent
dba10abb29
commit
ff2ae6b25c
|
@ -32,7 +32,7 @@ private void Update()
|
||||||
_poseTransforms[index].MediaPipePos.y,
|
_poseTransforms[index].MediaPipePos.y,
|
||||||
_poseTransforms[index].MediaPipePos.z,1);
|
_poseTransforms[index].MediaPipePos.z,1);
|
||||||
//temp = RotateAxisZ(180) * temp;
|
//temp = RotateAxisZ(180) * temp;
|
||||||
//warning:乘法的顺序不能改!
|
//warning:乘法的顺序不能改!
|
||||||
|
|
||||||
_nodes[index].transform.position = new Vector3(temp.x, temp.y, temp.z) * 5;
|
_nodes[index].transform.position = new Vector3(temp.x, temp.y, temp.z) * 5;
|
||||||
//_nodes[index].transform.position = _poseTransforms[index].MediaPipePos * 5;
|
//_nodes[index].transform.position = _poseTransforms[index].MediaPipePos * 5;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user