|
@@ -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);
|
|
|
}
|
|
|
|