Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Overview

This article describes how you can implement Motive’s premade Attachable components in order to make two objects interact with one another in a VR scene. One object will be able to be grabbed and then subsequently placed on the receiver object. This tutorial will also include information on how to use this functionality in combination with Storyflow.

Important: Any object that will be used as part of a training procedure authored in Storyflow must be a Motive Scene Object.

Setup - Unity SDK

  1. Open your Unity project and in the scene Hierarchy window find “Hammer” (World > Example Assets > Props > Workbench > Hammer)

  2. Right-click on the Hammer then select (Motive > Make Attachable)

  3. In the Hammer Inspector window scroll down until you find the VR Attachable component

    1. Scroll to the bottom of the component and expand the Attaches To dropdown list

    2. Increase the Size to 1

    3. Element 0 will appear, and from there you need to expand it and under Type write “Test”

  4. In the scene Hierarchy window find “Stud” (World > Example Assets > Props > Workbench > Stud > Stud)

  5. Right-click on the Hammer then select (Motive > Make Attach Receiver)

  6. In the Stud Inspector window scroll down until you find the VR Attachable Receiver component

    1. Scroll to the bottom of the component and expand the Receivers dropdown list

    2. Increase the Size to 1

    3. Element 0 will appear, and from there you need to expand it and under Type write “Test”

    4. Change Max Attachments to 1

    5. A bit higher in the component toggle Attach to Surface to on

  7. Save the scene

Setup - Storyflow

  1. Open Storyflow and select the Catalogs tab

  2. If you do not have a “named Object” catalog already, select (Create > Select Type > Named Object > (Type a name) > Create)

  3. Open your “Named Object “ catalog then select (+ > Named Object > (Type in “Stud”) > Save)

    1. Do this twice but for the second object write “Hammer

  4. Save the catalog

  • No labels