Kenkart 2 vuotta sitten
vanhempi
commit
0afafb5e9c
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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);
     }