@@ -21,9 +21,6 @@ public abstract class BaseControllerVisualizer : ControllerPoseSynchronizer, ICo
21
21
/// <inheritdoc />
22
22
public GameObject GameObject => gameObject ;
23
23
24
- /// <inheritdoc />
25
- public Pose SourcePose { get ; private set ; }
26
-
27
24
/// <inheritdoc />
28
25
public bool OverrideSourcePose { get ; set ; }
29
26
@@ -44,11 +41,6 @@ public Transform GripPose
44
41
/// <inheritdoc />
45
42
public override void OnSourcePoseChanged ( SourcePoseEventData < Pose > eventData )
46
43
{
47
- if ( eventData . SourceId == Controller ? . InputSource . SourceId )
48
- {
49
- SourcePose = eventData . SourceData ;
50
- }
51
-
52
44
if ( OverrideSourcePose )
53
45
{
54
46
return ;
@@ -60,11 +52,6 @@ public override void OnSourcePoseChanged(SourcePoseEventData<Pose> eventData)
60
52
/// <inheritdoc />
61
53
public override void OnSourcePoseChanged ( SourcePoseEventData < Quaternion > eventData )
62
54
{
63
- if ( eventData . SourceId == Controller ? . InputSource . SourceId )
64
- {
65
- SourcePose = new Pose ( SourcePose . position , eventData . SourceData ) ;
66
- }
67
-
68
55
if ( OverrideSourcePose )
69
56
{
70
57
return ;
@@ -76,11 +63,6 @@ public override void OnSourcePoseChanged(SourcePoseEventData<Quaternion> eventDa
76
63
/// <inheritdoc />
77
64
public override void OnSourcePoseChanged ( SourcePoseEventData < Vector2 > eventData )
78
65
{
79
- if ( eventData . SourceId == Controller ? . InputSource . SourceId )
80
- {
81
- SourcePose = new Pose ( eventData . SourceData , SourcePose . rotation ) ;
82
- }
83
-
84
66
if ( OverrideSourcePose )
85
67
{
86
68
return ;
@@ -92,11 +74,6 @@ public override void OnSourcePoseChanged(SourcePoseEventData<Vector2> eventData)
92
74
/// <inheritdoc />
93
75
public override void OnSourcePoseChanged ( SourcePoseEventData < Vector3 > eventData )
94
76
{
95
- if ( eventData . SourceId == Controller ? . InputSource . SourceId )
96
- {
97
- SourcePose = new Pose ( eventData . SourceData , SourcePose . rotation ) ;
98
- }
99
-
100
77
if ( OverrideSourcePose )
101
78
{
102
79
return ;
0 commit comments