Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.18 KB

File metadata and controls

27 lines (20 loc) · 1.18 KB

SnapOffsetHelper

Class and editor-extension to more easily generate snapOffset.

Usage

  1. Import Oculus Integration and SnapOffsetHelper.

  2. Add "SnapOffssetGenerator" to OVRGrabbable object.
    image01

  3. Select directory to save prefab file. ("Prefabs" only)
    image02

  4. Attach GripTransform.
    GripTransform is location of the hand when OVRGrabber grabs it.
    image03

  5. Push "Generate SnapOffset Prefab" button.
    When success it, automatically focus to prefab.
    image04

  6. Attach prefab to OVRGrabbable.snapOffset field.
    And check "Snap Position" and "Snap Rotation".
    image05

Environment

  • Unity v2018.4.0f1
  • Oculus Utilities v1.38.0, OVRPlugin v1.38.0, SDK v1.38.0.