Skip to content

Commit

Permalink
fix: fast forward snappables now snap immediately (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwim committed Aug 27, 2020
1 parent b8b8b04 commit 3c2c377
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Runtime/Interaction/SnapZone.cs
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ public virtual void ForceSelect(XRBaseInteractable interactable)
if (interactable.IsSelectableBy(this))
{
OnTriggerEnter(interactable.GetComponent<Collider>());
interactable.transform.position = attachTransform.position;
ForceSelectTarget = interactable;
}
else
Expand Down

0 comments on commit 3c2c377

Please sign in to comment.