Skip to content
Liam Robotica edited this page Jun 27, 2017 · 3 revisions

Welcome to the AvatarComponents wiki!

Manager_Avatar - Coming Soon

  • This will be the entry point for these scripts and will manage inter-script dependencies.

Manager_EyeGaze

This is currently the entry point / main script.

Editor:

You will set two variables:

  1. the Transform reference to your preferred forward facing direction. In essence, the head's transform or the head's bone transform. This way, if the head moves (through animation or HMD control) the forward direction is always known.
  2. the Transform references to your character's Eyes. This is an array value to accommodate multiple eyes.

Internal:

This script will create and add additional components and gameObjects to the character.

  1. Controller_Interest
  • The manager retrieves the target information that this component cycles through.
  1. Controller_Focus
  • The manager tells the eyes to lookAt the focus target this component creates.
  • The manager passes the target information from the interestController and tells the focusController to move to that position.
  1. Controller_EyeBlink
  • This currently only grabs a reference, the component must be added in the editor...
  • The manager uses the reference to externally trigger an single eyeBlink animation.

Control_EyeBlink

  • This is currently a stand alone script that controls the blinking animation of the eye lids.

Clone this wiki locally