Skip to end of metadata
Go to start of metadata

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

Compare with Current View Version History

« Previous Version 3 Current »

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.

Configure One Object to be Used On Another.mp4

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

Is Trigger

true

Motive Scene Object

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

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

  • No labels