고다경

quad 움직임 완성

...@@ -319,6 +319,9 @@ GameObject: ...@@ -319,6 +319,9 @@ GameObject:
319 - component: {fileID: 485542714} 319 - component: {fileID: 485542714}
320 - component: {fileID: 485542713} 320 - component: {fileID: 485542713}
321 - component: {fileID: 485542717} 321 - component: {fileID: 485542717}
322 + - component: {fileID: 485542718}
323 + - component: {fileID: 485542720}
324 + - component: {fileID: 485542719}
322 m_Layer: 0 325 m_Layer: 0
323 m_Name: Quad 326 m_Name: Quad
324 m_TagString: Untagged 327 m_TagString: Untagged
...@@ -348,7 +351,7 @@ MeshRenderer: ...@@ -348,7 +351,7 @@ MeshRenderer:
348 m_PrefabAsset: {fileID: 0} 351 m_PrefabAsset: {fileID: 0}
349 m_GameObject: {fileID: 485542712} 352 m_GameObject: {fileID: 485542712}
350 m_Enabled: 1 353 m_Enabled: 1
351 - m_CastShadows: 1 354 + m_CastShadows: 0
352 m_ReceiveShadows: 1 355 m_ReceiveShadows: 1
353 m_DynamicOccludee: 1 356 m_DynamicOccludee: 1
354 m_MotionVectors: 1 357 m_MotionVectors: 1
...@@ -387,20 +390,25 @@ MeshFilter: ...@@ -387,20 +390,25 @@ MeshFilter:
387 m_PrefabAsset: {fileID: 0} 390 m_PrefabAsset: {fileID: 0}
388 m_GameObject: {fileID: 485542712} 391 m_GameObject: {fileID: 485542712}
389 m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} 392 m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0}
390 ---- !u!4 &485542716 393 +--- !u!224 &485542716
391 -Transform: 394 +RectTransform:
392 m_ObjectHideFlags: 0 395 m_ObjectHideFlags: 0
393 m_CorrespondingSourceObject: {fileID: 0} 396 m_CorrespondingSourceObject: {fileID: 0}
394 m_PrefabInstance: {fileID: 0} 397 m_PrefabInstance: {fileID: 0}
395 m_PrefabAsset: {fileID: 0} 398 m_PrefabAsset: {fileID: 0}
396 m_GameObject: {fileID: 485542712} 399 m_GameObject: {fileID: 485542712}
397 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 400 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
398 - m_LocalPosition: {x: 0, y: 0, z: 210} 401 + m_LocalPosition: {x: 0, y: 0, z: 100}
399 - m_LocalScale: {x: 100, y: 100, z: 100} 402 + m_LocalScale: {x: 20, y: 20, z: 200}
400 m_Children: [] 403 m_Children: []
401 m_Father: {fileID: 0} 404 m_Father: {fileID: 0}
402 m_RootOrder: 8 405 m_RootOrder: 8
403 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 406 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
407 + m_AnchorMin: {x: 0.5, y: 0.5}
408 + m_AnchorMax: {x: 0.5, y: 0.5}
409 + m_AnchoredPosition: {x: 130, y: 10}
410 + m_SizeDelta: {x: 100, y: 100}
411 + m_Pivot: {x: 0.5, y: 0.5}
404 --- !u!114 &485542717 412 --- !u!114 &485542717
405 MonoBehaviour: 413 MonoBehaviour:
406 m_ObjectHideFlags: 0 414 m_ObjectHideFlags: 0
...@@ -413,9 +421,58 @@ MonoBehaviour: ...@@ -413,9 +421,58 @@ MonoBehaviour:
413 m_Script: {fileID: 11500000, guid: 4381b5042657b804ba0695ce7a8c7128, type: 3} 421 m_Script: {fileID: 11500000, guid: 4381b5042657b804ba0695ce7a8c7128, type: 3}
414 m_Name: 422 m_Name:
415 m_EditorClassIdentifier: 423 m_EditorClassIdentifier:
416 - BodySrcManager: {fileID: 0} 424 + BodySrcManager: {fileID: 1330895655}
417 TrackedJoint: 11 425 TrackedJoint: 11
418 - multiplier: 10 426 + multiplier: 200
427 +--- !u!225 &485542718
428 +CanvasGroup:
429 + m_ObjectHideFlags: 0
430 + m_CorrespondingSourceObject: {fileID: 0}
431 + m_PrefabInstance: {fileID: 0}
432 + m_PrefabAsset: {fileID: 0}
433 + m_GameObject: {fileID: 485542712}
434 + m_Enabled: 1
435 + m_Alpha: 1
436 + m_Interactable: 1
437 + m_BlocksRaycasts: 1
438 + m_IgnoreParentGroups: 0
439 +--- !u!114 &485542719
440 +MonoBehaviour:
441 + m_ObjectHideFlags: 0
442 + m_CorrespondingSourceObject: {fileID: 0}
443 + m_PrefabInstance: {fileID: 0}
444 + m_PrefabAsset: {fileID: 0}
445 + m_GameObject: {fileID: 485542712}
446 + m_Enabled: 1
447 + m_EditorHideFlags: 0
448 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
449 + m_Name:
450 + m_EditorClassIdentifier:
451 + m_Material: {fileID: 0}
452 + m_Color: {r: 1, g: 1, b: 1, a: 1}
453 + m_RaycastTarget: 1
454 + m_Maskable: 1
455 + m_OnCullStateChanged:
456 + m_PersistentCalls:
457 + m_Calls: []
458 + m_Sprite: {fileID: 0}
459 + m_Type: 0
460 + m_PreserveAspect: 0
461 + m_FillCenter: 1
462 + m_FillMethod: 4
463 + m_FillAmount: 1
464 + m_FillClockwise: 1
465 + m_FillOrigin: 0
466 + m_UseSpriteMesh: 0
467 + m_PixelsPerUnitMultiplier: 1
468 +--- !u!222 &485542720
469 +CanvasRenderer:
470 + m_ObjectHideFlags: 0
471 + m_CorrespondingSourceObject: {fileID: 0}
472 + m_PrefabInstance: {fileID: 0}
473 + m_PrefabAsset: {fileID: 0}
474 + m_GameObject: {fileID: 485542712}
475 + m_CullTransparentMesh: 0
419 --- !u!1 &566176846 476 --- !u!1 &566176846
420 GameObject: 477 GameObject:
421 m_ObjectHideFlags: 0 478 m_ObjectHideFlags: 0
......
...@@ -927,7 +927,7 @@ MonoBehaviour: ...@@ -927,7 +927,7 @@ MonoBehaviour:
927 m_Script: {fileID: 11500000, guid: 4381b5042657b804ba0695ce7a8c7128, type: 3} 927 m_Script: {fileID: 11500000, guid: 4381b5042657b804ba0695ce7a8c7128, type: 3}
928 m_Name: 928 m_Name:
929 m_EditorClassIdentifier: 929 m_EditorClassIdentifier:
930 - BodySrcManager: {fileID: 0} 930 + BodySrcManager: {fileID: 183612550}
931 TrackedJoint: 11 931 TrackedJoint: 11
932 multiplier: 10 932 multiplier: 10
933 --- !u!64 &1680339713 933 --- !u!64 &1680339713
......
...@@ -48,7 +48,8 @@ public class DetectJoints : MonoBehaviour ...@@ -48,7 +48,8 @@ public class DetectJoints : MonoBehaviour
48 if (body.IsTracked) 48 if (body.IsTracked)
49 { 49 {
50 var pos = body.Joints[TrackedJoint].Position; 50 var pos = body.Joints[TrackedJoint].Position;
51 - gameObject.transform.position = new Vector3(pos.X*multiplier, pos.Y*multiplier); 51 + //gameObject.transform.position = new Vector3(pos.X*multiplier, pos.Y*multiplier);
52 + gameObject.transform.position = new Vector3(pos.X * (multiplier+50), pos.Y * multiplier/3, multiplier/2);
52 } 53 }
53 } 54 }
54 55
......