Create your own Action

Zoe has a modular structure allowing you to create your own scripts in combination with the whole system. We explain here the basics of implementing a new Zoe ACTION with your own code: Find the script TemplateAction in your Project window (under Scripts > Interactions > Actions) duplicate it and rename the duplicated file with your action name [YourActionName]. Once …

Animation

Note: click here if you are using an older version of Zoe for Unity (1.x). The Animation action allows you to trigger an animation. This action is using the Animator component from Unity. It means that any animation clip you want to play needs to be inside an Animator Controller and your object needs the Animator component attached. For details …

Change Material

Change an object’s material. Target Object(s): Game Object you want the material to be changed. New Material: new material. Time [s]: duration for the transition. Loop: do the action in loop (use it if you also checked Back&Forth) Back&Forth: alternates between the current material and the new one.

Physics

Change physic properties of an object. Target Object(s): IOs you want to modify their properties. Affected by gravity: change the object’s subjection to gravity. Enable collisions: enable/disable if the target object detects collision or not.This action will act on the Collider at the root of your IO. Change mass: assign a new mass (kg) to your object.

Audio

The Audio action allows you to trigger any action related to audio. Action: Play, Stop, Pause or Mute an audio. Audio source: by default here you have the Audio Source of your root (IO), however if you want to choose another one (maybe you have more than one Audio Source or you have objects inside with their own Audio Source), …

Activate

This actions allows you to activate and/or deactivate objects from your scene. GameObjects to Activate: any object from the scene that you want to activate. GameObjects to Deactivate: any object from the scene that you want to deactivate.

Translate

A translation in space is when an object is moves to a new position. Allows to move objects to specific targets inside the scene, with the following parameters: Object(s) to move: List of objects you want to move. Destination: objects from the scene (any Transform) you want your object to move to. Consider rotation: makes the object match the destination’s …

Rotate Around

This action has ‘sections’ allowing you to add several times the same action with different parameters every time. You can add as many sections you want. Each section allows to rotate objects around the axis of a pivot object with the following parameters: Object(s) to rotate: List of objects you want to rotate. Pivot: reference object from the scene you …

Rotate

Allows to rotate objects with following parameters: Object(s) to rotate: List of objects you want to rotate. Rotation angle(s): angle value you want your object to rotate around each of its axis. Time [s]: time in seconds for the rotation transition. Back & Forth: does the action and reverts it once Loop: does the action in loop.

Scale

The Scale action Allows to modify an object’s size with the following parameters: Object(s) to scale: list of objects you want to scale up/down. Scale mode: two ways of setting a new scale are available: Absolute scale: the object(s) scale will match the new values. Scale factor (scale mode): the object(s) current scale will be multiplied by the new values. …