김다솜

트레이니 tracking 오류 & 트레이너 scale 오류 수정

......@@ -468,7 +468,7 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: -80}
m_SizeDelta: {x: 300, y: 350}
m_SizeDelta: {x: 250, y: 300}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &132265374
MonoBehaviour:
......@@ -582,7 +582,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 241038935}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: -4.5, z: -13.2}
m_LocalPosition: {x: 0, y: 1, z: -2}
m_LocalScale: {x: 2, y: 2, z: 2}
m_Children: []
m_Father: {fileID: 0}
......@@ -1474,15 +1474,15 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: ebaf91e845e67ac4f85b03ca6c72bd32, type: 3}
propertyPath: m_LocalPosition.x
value: 6
value: 0.9
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: ebaf91e845e67ac4f85b03ca6c72bd32, type: 3}
propertyPath: m_LocalPosition.y
value: -8.74
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: ebaf91e845e67ac4f85b03ca6c72bd32, type: 3}
propertyPath: m_LocalPosition.z
value: -1.37
value: 0
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: ebaf91e845e67ac4f85b03ca6c72bd32, type: 3}
propertyPath: m_LocalRotation.x
......@@ -1518,20 +1518,20 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: ebaf91e845e67ac4f85b03ca6c72bd32, type: 3}
propertyPath: m_LocalScale.x
value: 5
value: 0.9
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: ebaf91e845e67ac4f85b03ca6c72bd32, type: 3}
propertyPath: m_LocalScale.y
value: 5
value: 0.9
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: ebaf91e845e67ac4f85b03ca6c72bd32, type: 3}
propertyPath: m_LocalScale.z
value: 5
value: 1
objectReference: {fileID: 0}
- target: {fileID: 9500000, guid: ebaf91e845e67ac4f85b03ca6c72bd32, type: 3}
propertyPath: m_Avatar
value:
objectReference: {fileID: 9000000, guid: 8c2451cba12610a4b83716d152a35013, type: 3}
objectReference: {fileID: 9000000, guid: ebaf91e845e67ac4f85b03ca6c72bd32, type: 3}
- target: {fileID: 13700000, guid: ebaf91e845e67ac4f85b03ca6c72bd32, type: 3}
propertyPath: m_Materials.Array.data[0]
value:
......@@ -2109,7 +2109,7 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: -80}
m_SizeDelta: {x: 300, y: 350}
m_SizeDelta: {x: 250, y: 300}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1606945880
MonoBehaviour:
......@@ -2292,8 +2292,8 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1642118724}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: -4, z: 0}
m_LocalScale: {x: 5.1, y: 3.5, z: 1}
m_LocalPosition: {x: 0, y: 0.98, z: 2.09}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 3
......@@ -2589,17 +2589,17 @@ PrefabInstance:
- target: {fileID: -4216859302048453862, guid: 2fabf5256d4e0f64183020c8a537dc3f,
type: 3}
propertyPath: m_LocalPosition.x
value: -5
value: -0.8
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 2fabf5256d4e0f64183020c8a537dc3f,
type: 3}
propertyPath: m_LocalPosition.y
value: -8.83
value: 0
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 2fabf5256d4e0f64183020c8a537dc3f,
type: 3}
propertyPath: m_LocalPosition.z
value: -2.23
value: -0.05
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 2fabf5256d4e0f64183020c8a537dc3f,
type: 3}
......@@ -2644,17 +2644,17 @@ PrefabInstance:
- target: {fileID: -4216859302048453862, guid: 2fabf5256d4e0f64183020c8a537dc3f,
type: 3}
propertyPath: m_LocalScale.x
value: 4
value: 0.8
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 2fabf5256d4e0f64183020c8a537dc3f,
type: 3}
propertyPath: m_LocalScale.y
value: 4
value: 0.8
objectReference: {fileID: 0}
- target: {fileID: -4216859302048453862, guid: 2fabf5256d4e0f64183020c8a537dc3f,
type: 3}
propertyPath: m_LocalScale.z
value: 4
value: 1
objectReference: {fileID: 0}
- target: {fileID: -3033825942568983280, guid: 2fabf5256d4e0f64183020c8a537dc3f,
type: 3}
......@@ -2710,7 +2710,7 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: -80}
m_SizeDelta: {x: 300, y: 350}
m_SizeDelta: {x: 250, y: 300}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1983785838
MonoBehaviour:
......
......@@ -334,7 +334,7 @@ class CharacterSkeleton
{
Vector3 m = joint[JointType_SpineBase];
if (mirrored) m = new Vector3(-2, m.y-9, -2);
if (mirrored) m = new Vector3(-1, m.y, 1);
humanoid.transform.position = m;
}
}
......
......@@ -175,6 +175,10 @@ public class Move : MonoBehaviour
lines_right = File.ReadAllLines(@"Trainer_txt/runzi_right.txt");
Debug.Log("읽음");
}
else {
lines = File.ReadAllLines(@"Trainer_txt/squart.txt");
Debug.Log("읽음");
}
workout_count = 0;
workout_flag = 0;
......@@ -398,7 +402,6 @@ public class Move : MonoBehaviour
GCHandle gch3 = GCHandle.Alloc(id1, GCHandleType.Pinned);
int i = -1;
for (Kinect.JointType jt = Kinect.JointType.SpineBase; jt <= Kinect.JointType.ThumbRight; jt++)
{
Kinect.Joint sourceJoint = body.Joints[jt];
......