Drag-n-drop simplicity to give life-like behavior to eyes. Don’t really care for that zombie-like stare? Don’t care to do the animation, or you can see how predictable and robotic that can look? Drop this onto a set of eyes and/or eyelids, and the eyes will move according to natural parameters (which you can adjust of course!) Eyes can optionally track any number of targets, moving or otherwise, and automatically switch between them. Later versions will allow for weighting the ‘attention span’ depending on what those targets are doing.
Get it from the Asset Store Here or here: https://www.assetstore.unity3d.com/#/search/naturaleyes
NOTE: If your eyes are already animated, you’ll need to disable that so that this script can take over. To do that:
- For Mechanim:
Inspector, the Import settings for the model, Animations tab, Transform Mask (at the bottom), open that to find the joints (transforms) that will be under control of NaturalEyes, and uncheck them, so they are not under control of the Animation.
- For Legacy animation:
If your eyes/lids are under control of the animation, drop this script on each transform that needs to be non-animated (that you will override with NaturalEyes).
This horribly simplistic demo shows eyes tracking 3 targets, which you can turn on/off. If you turn them all off, he looks straight ahead. Well, as straight as is natural! You can adjust his ‘attention’ too. This makes him more or less ‘shifty’. The API lets you customize all this to give each character a unique eye behavior if you like.