Unity Asset: Realistic Eye Movements

Click on the image to start the WebGL demo.

  • Make your characters more lifelike by letting this asset animate their eyes, head, and eyelids
  • Easy to setup
  • If you character was generated by Mixamo Fuse, MakeHuman, DAZ Studio, Reallusion Character Creator 3 or 4, Autodesk Character Generator or UMA, setup is even easier: just import the preset
  • Especially strong effect of livelike behaviour when used in Virtual Reality headsets, as the eyes move in the “social triangle”
  • Uses data from published academic research (described here)

Realistic Eye Movements makes your character’s eyes and head look around, at the player, or at objects in a lifelike fashion. Just drop two scripts on your character and set a few parameters. If your character’s eyelids can be moved via bones or blendshapes, this asset can take advantage of that to produce an even more convincing effect.

The asset uses the same code that I first used in my original VR demo Coffee without Words. If the player uses a VR headset (such as Oculus Quest or Valve Index), this asset will let the NPCs alternate which of the player’s eyes they look into when looking at the player. Here are two VR demos on itch.io:
VR Elevator Demo (146MB, uses OpenXR)
VR House Disco (855MB, uses SteamVR)
All other VR platforms that are natively supported by Unity work as well with this asset.

I summarized some of the findings from reading research papers on human movement and animation that I used for this asset in my blog post Experiments with Animation for Eyes and Head, so you can write some of the code yourself, but this asset can save you a lot of time and has grown a lot since then.

The process of how to apply the component to your character is described in detail in this manual: Full Documentation
For discussions of this asset please visit the Unity forum thread

Demo:

Quickstart: