/
Configure One Object to be Used On Another

Configure One Object to be Used On Another

In depth learning on Usable World Objects is found in this course in Motive Academy.

In this example we want to use one Object to touch another Object. Then, you can use Storyflow to author this interaction between the Objects and allow your Scenario to progress.

 

There are two Objects:

  • Cube - The Object that will be touched

  • Sphere -The Object used to touch the Cube

Cube Configuration

  1. Add a Cube to your Scene

  2. Position Cube in a location that is easily reachable

  3. In the Hierarchy, right click on the Cube and select Motive > Make Scene Object

  4. In the Inspector, set the following values on Cube components:

Box Collider

Field

Value

Field

Value

Is Trigger

true

Motive Scene Object

Field

Value

Field

Value

Name

TouchCube

  1. You can use whatever name you prefer

The Cube is now properly configured to be detected when another Object touches it

Sphere Configuration

  1. Add a Sphere to your Scene

  2. Position the Sphere in a location that is easily reachable

  3. In the Hierarchy, right click on the Sphere and select Motive > Usable Actions > Touch Other Object

  4. Right click on the Sphere and select Motive > Make Scene Object

These two actions will add several components to your Sphere. You only need to give the Motive Scene Object a name for this basic example.

Motive Scene Object

Field

Value

Field

Value

Name

UsableSphere

  1. You can use whatever name you prefer

The Sphere can now be picked up by the user. When the user touches the Cube (or any other Object which is similarly configured) with the Sphere, this Event can be recognized by a Storyflow Script.

Storyflow Usage

Because both the Cube and the Sphere have Motive Scene Object components, they can be added to a Named Object Catalog in a Storyflow Project.

In a Storyflow Script:

  1. Use the Use Tool Resource and select the Cube for the World Object

  2. Sphere for the Use Tool Object:

2024-01-17_14-52-30.jpg

Related Articles

Usable Objects

 

 

Related content

Make Attachable / Using Attachable Receivers
Make Attachable / Using Attachable Receivers
More like this
Motive Scene Object Example
Motive Scene Object Example
More like this
Boolean State Listener Example - Lights On / Off
Boolean State Listener Example - Lights On / Off
Read with this
Touch Resource - SDK Object Configuration
Touch Resource - SDK Object Configuration
More like this
Make a Glove Equippable and Equip it Using Storyflow
Make a Glove Equippable and Equip it Using Storyflow
Read with this
Nested Grabbables and Attachables
Nested Grabbables and Attachables
More like this