Unity 3d 2D Eye Focus and head look By XenoAisam
Hello guys! long time no see. This time I provide some useful tools that I made myself using unity scripting and it’s for Unity-er guys like me.
It’s useful stuff for the people who make anime model and use it in unity3d. It’s free.
Sorry, no new 3d model so far for now 😛
2D Eyes Focus
+Import the custom package of “2D Eyes Focus’
+Now set the transform position of ‘Eye Level’ to all 0, 0, 0.
Probably you want to set your rotation to 80, 270, 0. But make sure your ‘Eye Level’ z-axis is facing same direction with your model face.
+’Target’ Empty slot is the target for the iris to focus/tracking/follow around. It’s up to you what kind of target you want to use.
If you want to use script and change the target in real-time, use this method to call:
var NewTarget : Transform;
var EyeFocusScript : XenoEyeIrisFocus;
EyeFocusScript.Target = NewTarget;
Have a nice trying 🙂
This is simple head look script that orientate the head to face the target position.
Not as powerful as the one in Unity example demo head look, but this one is easy to modify.
It’s also self explanatory and you can try ahead yourself 🙂