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 8 Next »

For an overview of Resources, click here.

Overview

The Apply Effect resource allows the author to apply animations and visual effects on applicable objects in the scene. An effect can be an animation or some form of particle effect. It can be a powerful tool for bringing the character to life, or for allowing objects in your environment to react in response to the user.

Required Fields

Field Name

Description

World Objects

Specifies which scene objects will display an effect

Effects

Specifies the effect to be applied.

This effect can be an animation or a particle effect.

Optional Fields

Field Name

Description

Speed

If applicable, specifies the speed (multiplier) of the effect.

A speed of 2.0 would reduce the duration of the effect by half.

Events

There are no events emitted by an Apply Effect resource.  In order to stop an effect, you have to deactivate the resource.  

Example In the Headset

In this example, I want my character Stacey to sit down.  The action of sitting down is done with an Apply Effect resource.  

  • Open the script and frame you want to put this action.

  • Drag the Apply Effect resource into your frame.  For this example, Stacey is the World Object and the effect is one of my Unity Animations:

  • Once I save and test in the headset, you can see that Stacey sits down (the Apply Effect we just created), but the chair isn't reacting to the sit motion:

Stacey Sits no chair react.mp4

There is the ability to layer Apply Effects. 

  • Going back to the frame I will add a second Apply Effect with the Employee Chair as the World Object and the appropriate Unity Animation:

  • Once I save and test in the headset, you can see that Stacey sits down and the chair moves appropriately:  

chair sits 1 - HD 720p.mp4

  • No labels