Excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
Panel | ||||||||
| ||||||||
In depth learning in Usable World Objects can be found in Motive Academy in this course. |
Excerpt |
---|
Usable World Objects are used by the “Use” or “Use Tool” object actions in StoryFlow. Usable Actions are connected to a Usable World Object. |
Usable Touch Action
Fired when this object touches any other object with a World Object Behviour on it.
Usable Point Click Action
Configures an object to allow for a “point and shoot” type of mechanic, like a spray bottle or scanner.
...
Usable Layer Mask
...
A layer mask to apply to a Raycast when using Raycast to detect targets.
...
Raycast Transform
...
The transform from which to fire the Raycast.
...
Raycast Distance
...
The maximum distance for the Raycast.
...
Target Detection
...
Raycast: Use a Raycast to detect targets.
Colliders: Use collisions to detect targets
...
Use Action
...
The action to take to trigger the action, one of Trigger Down or Trigger Up.
...
Use Haptic Effect
...
A haptic effect to fire on use.
...
Use Haptic Play Mode
...
Storyflow. The “use” action is defined by a separate Usable Action component (below). |
Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Fields
Name | Description |
---|---|
Controller Object | Deprecated. Was used to define how the controller should look when this object was being used. Grabbables replace this behaviour. |
World Object | The World Object associated with this Usable. |
Pick Up On Pointer Down | Deprecated. |
Swap Hands | Deprecated. |
Usable Action
Name | Description |
---|---|
On Start Using | Called when user starts using this Usable. |
On Stop Using | Called when the user is no longer using this object. |
On Trigger Down | Called when the user has depressed the trigger while using this object. |
On Trigger Up | Called when the user releases the trigger while using this object. |
On Use | Called when this object is used. |
Related Articles
Child pages (Children Display) |
---|