Kenkart 2 years ago
parent
commit
0afafb5e9c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Assets/KinectView/Scripts/BodySourceView.cs

+ 2 - 0
Assets/KinectView/Scripts/BodySourceView.cs

@@ -146,6 +146,7 @@ public class BodySourceView : MonoBehaviour
             lr.startWidth = 0.3f;
             lr.endWidth = 0.3f;
 
+            // TODO: change size of cube
             jointObj.transform.localScale = new Vector3(0.3f, 0.3f, 0.3f);
             jointObj.name = jt.ToString();
             jointObj.transform.parent = body.transform;
@@ -284,6 +285,7 @@ public class BodySourceView : MonoBehaviour
 
     private static Vector3 GetVector3FromJoint(Kinect.Joint joint)
     {
+        // TODO: modify to make joints more accurate
         return new Vector3(joint.Position.X * -10, joint.Position.Y * 10, joint.Position.Z * 10);
     }