LookAt (Sample)

Updated: 01/30/2020

This page is for Cubism version 4.2 or earlier. Click here for the latest version.

Summary

This is a sample scene that enables you to confirm the eye tracking function of specific coordinates in a game scene.

What Functions Can Be Checked?

  • Two functions for eye tracking can be identified.
    • CubismLookController (attaches to Prefab in Cubism for eye tracking)
    • Class that implements ICubismLookTarget (attaches to what is being eye-tracked)
      • Sample scene uses ICubismLookTarget

Easy to Use

When run, the Cubism model will continue to follow the target object moving to the left or right.

How to Set Up a Scene

You can see that CubismLookTargetBehaviour is attached to TargetPivot -> Target in the Hierarchy. The model to which the CubismLookController is attached will follow this object.

Click here to learn how to set up the model.

Was this article helpful?
YesNo
Please let us know what you think about this article.