Skip to content

Commit

Permalink
fix(examples): allow pointer grabbers to retrieve from snap zones
Browse files Browse the repository at this point in the history
The pointer grabbers have been updated so they ignore trigger colldiers
so they can grab from snap zones and they also use the snap zone
manager on the before grabbed event to force unsnap from the snap zone
so the grab works correctly.

The snap zones have also been updated to the latest version which
includes a fix for the highlighting logic.
  • Loading branch information
extendreality committed Jun 28, 2021
1 parent 06b18d2 commit 68c8eb5
Show file tree
Hide file tree
Showing 3 changed files with 165 additions and 2 deletions.
163 changes: 163 additions & 0 deletions Assets/Samples/Farm/Scenes/ExampleScene.unity

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Packages/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"io.extendreality.tilia.interactions.controllables.unity": "1.13.0",
"io.extendreality.tilia.interactions.interactables.unity": "1.19.2",
"io.extendreality.tilia.interactions.pointerinteractors.unity": "1.8.2",
"io.extendreality.tilia.interactions.snapzone.unity": "1.5.8",
"io.extendreality.tilia.interactions.snapzone.unity": "1.5.9",
"io.extendreality.tilia.interactions.spatialbuttons.unity": "1.3.11",
"io.extendreality.tilia.locomotors.axismove.unity": "1.3.15",
"io.extendreality.tilia.locomotors.climbing.unity": "1.7.26",
Expand Down
2 changes: 1 addition & 1 deletion Packages/packages-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
"url": "https://registry.npmjs.org"
},
"io.extendreality.tilia.interactions.snapzone.unity": {
"version": "1.5.8",
"version": "1.5.9",
"depth": 0,
"source": "registry",
"dependencies": {
Expand Down

0 comments on commit 68c8eb5

Please sign in to comment.