Class and editor-extension to more easily generate snapOffset.
-
Import Oculus Integration and SnapOffsetHelper.
-
Attach GripTransform.
GripTransform is location of the hand when OVRGrabber grabs it.
-
Push "Generate SnapOffset Prefab" button.
When success it, automatically focus to prefab.
-
Attach prefab to OVRGrabbable.snapOffset field.
And check "Snap Position" and "Snap Rotation".
- Unity v2018.4.0f1
- Oculus Utilities v1.38.0, OVRPlugin v1.38.0, SDK v1.38.0.