Skip to content

Commit

Permalink
Pointers were getting their start position from the grip position ins…
Browse files Browse the repository at this point in the history
…tead of the pointer position
  • Loading branch information
keveleigh committed Aug 29, 2018
1 parent aec1f06 commit fac5547
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public virtual void OnPreRaycast()
Vector3 position;
Vector3 forward;

if (!sourceState.sourcePose.TryGetPosition(out position))
if (!sourceState.sourcePose.TryGetPosition(out position, InteractionSourceNode.Pointer))
{
return;
}
Expand Down

0 comments on commit fac5547

Please sign in to comment.