Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. In the Hierarchy, find the object you wish to make grabbable. We use the “brush” in this case. It can be any object

  2. Right click on the object

  3. Select Motive - > Make Grabbable

  4. In the Inspector, notice that three components have been added to the object

    1. A Rigidbody

    2. A Mesh Collider

    3. VR Grabbable script

  5. Make the Mesh Collider = Convex

  6. Save the Scene

  7. Play the Scene

  8. Pick up the brush. Notice that the brush can be picked up from any point. Specific grab points can be defined in the VR Grabbable script

    1. Optional: Add a grab anchor to the handle. A grab anchor is a transform. You can use the buttons to define a grab anchor for either hand or you can create your own and assign it

    2. Optional: Options for release behavior, distance grabs and more can be configured in the VR Grabbable script component

...

  1. Right click on the object

  2. Select Motive - > Make Scene Object

  3. In the name field, type a name

    1. Remember this name. A Catalog item with the same name will need to be created in a Storyflow Catalog

    2. For this example, the name will be 'Brush'

  4. Save the Scene

...