Skip to content

Commit 1e4224a

Browse files
authored
Merge pull request #3 from hj-cpdm-son/update_controller_position
Update controller object to camera offset object's child
2 parents b8e0e44 + 71e4582 commit 1e4224a

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

Samples~/XRController/XRControllerSample.unity

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -416,31 +416,31 @@ PrefabInstance:
416416
serializedVersion: 2
417417
m_Modification:
418418
serializedVersion: 3
419-
m_TransformParent: {fileID: 2050088264}
419+
m_TransformParent: {fileID: 1962637911}
420420
m_Modifications:
421421
- target: {fileID: 3934931739962257381, guid: 28d082d6c802a844384715111b194769, type: 3}
422422
propertyPath: m_Name
423423
value: LeftController
424424
objectReference: {fileID: 0}
425425
- target: {fileID: 4454199932067018079, guid: 28d082d6c802a844384715111b194769, type: 3}
426426
propertyPath: m_LocalPosition.x
427-
value: -0
427+
value: 0
428428
objectReference: {fileID: 0}
429429
- target: {fileID: 4454199932067018079, guid: 28d082d6c802a844384715111b194769, type: 3}
430430
propertyPath: m_LocalPosition.y
431-
value: 0.01
431+
value: 0
432432
objectReference: {fileID: 0}
433433
- target: {fileID: 4454199932067018079, guid: 28d082d6c802a844384715111b194769, type: 3}
434434
propertyPath: m_LocalPosition.z
435-
value: -0.05
435+
value: 0
436436
objectReference: {fileID: 0}
437437
- target: {fileID: 4454199932067018079, guid: 28d082d6c802a844384715111b194769, type: 3}
438438
propertyPath: m_LocalRotation.w
439-
value: 0.9063079
439+
value: 1
440440
objectReference: {fileID: 0}
441441
- target: {fileID: 4454199932067018079, guid: 28d082d6c802a844384715111b194769, type: 3}
442442
propertyPath: m_LocalRotation.x
443-
value: -0.42261827
443+
value: 0
444444
objectReference: {fileID: 0}
445445
- target: {fileID: 4454199932067018079, guid: 28d082d6c802a844384715111b194769, type: 3}
446446
propertyPath: m_LocalRotation.y
@@ -452,7 +452,7 @@ PrefabInstance:
452452
objectReference: {fileID: 0}
453453
- target: {fileID: 4454199932067018079, guid: 28d082d6c802a844384715111b194769, type: 3}
454454
propertyPath: m_LocalEulerAnglesHint.x
455-
value: -50
455+
value: 0
456456
objectReference: {fileID: 0}
457457
- target: {fileID: 4454199932067018079, guid: 28d082d6c802a844384715111b194769, type: 3}
458458
propertyPath: m_LocalEulerAnglesHint.y
@@ -478,27 +478,27 @@ PrefabInstance:
478478
serializedVersion: 2
479479
m_Modification:
480480
serializedVersion: 3
481-
m_TransformParent: {fileID: 2050088264}
481+
m_TransformParent: {fileID: 1962637911}
482482
m_Modifications:
483483
- target: {fileID: 7286808223074150486, guid: 85bf3796aed1db840ad839bab28c9abc, type: 3}
484484
propertyPath: m_LocalPosition.x
485-
value: -0
485+
value: 0
486486
objectReference: {fileID: 0}
487487
- target: {fileID: 7286808223074150486, guid: 85bf3796aed1db840ad839bab28c9abc, type: 3}
488488
propertyPath: m_LocalPosition.y
489-
value: 0.01
489+
value: 0
490490
objectReference: {fileID: 0}
491491
- target: {fileID: 7286808223074150486, guid: 85bf3796aed1db840ad839bab28c9abc, type: 3}
492492
propertyPath: m_LocalPosition.z
493-
value: -0.05
493+
value: 0
494494
objectReference: {fileID: 0}
495495
- target: {fileID: 7286808223074150486, guid: 85bf3796aed1db840ad839bab28c9abc, type: 3}
496496
propertyPath: m_LocalRotation.w
497-
value: 0.9063079
497+
value: 1
498498
objectReference: {fileID: 0}
499499
- target: {fileID: 7286808223074150486, guid: 85bf3796aed1db840ad839bab28c9abc, type: 3}
500500
propertyPath: m_LocalRotation.x
501-
value: -0.42261827
501+
value: 0
502502
objectReference: {fileID: 0}
503503
- target: {fileID: 7286808223074150486, guid: 85bf3796aed1db840ad839bab28c9abc, type: 3}
504504
propertyPath: m_LocalRotation.y
@@ -510,7 +510,7 @@ PrefabInstance:
510510
objectReference: {fileID: 0}
511511
- target: {fileID: 7286808223074150486, guid: 85bf3796aed1db840ad839bab28c9abc, type: 3}
512512
propertyPath: m_LocalEulerAnglesHint.x
513-
value: -50
513+
value: 0
514514
objectReference: {fileID: 0}
515515
- target: {fileID: 7286808223074150486, guid: 85bf3796aed1db840ad839bab28c9abc, type: 3}
516516
propertyPath: m_LocalEulerAnglesHint.y
@@ -564,6 +564,8 @@ Transform:
564564
m_ConstrainProportionsScale: 0
565565
m_Children:
566566
- {fileID: 330585546}
567+
- {fileID: 1507901173}
568+
- {fileID: 721646433}
567569
m_Father: {fileID: 2050088264}
568570
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
569571
--- !u!1 &2050088262
@@ -614,8 +616,6 @@ Transform:
614616
m_ConstrainProportionsScale: 0
615617
m_Children:
616618
- {fileID: 1962637911}
617-
- {fileID: 1507901173}
618-
- {fileID: 721646433}
619619
m_Father: {fileID: 0}
620620
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
621621
--- !u!1660057539 &9223372036854775807

0 commit comments

Comments
 (0)