The EyeRotationDriver can control the rotation of slots using the data from an [[Component:EyeManager|EyeManager]].
The '''EyeRotationDriver''' component can control the rotation of slots using the data from an [[Component:EyeManager|EyeManager]].
<!--T:3-->
<!--T:3-->
Line 22:
Line 23:
== Eye ==
== Eye ==
{{Table TypeFields
{{Table TypeFields
|Side|Xisdjdjejjsjsjwjqjehsuakshdjsjaj| Left or right eye.
|Side|EyeSide| Left or right eye.
|Root|Slot| the slot of this eye that should be rotated
|Root|Slot| the slot of this eye that should be rotated
|Up|Float3|The up direction of <code>Root</code> in local space.
|Up|Float3|The up direction of <code>Root</code> in local space.
Line 33:
Line 34:
|SettupFromRoot()|[[Type:Action|Action]]|Sets up the <code>Forward</code>, <code>Up</code>, and <code>Rotation</code> fields when <code>Root</code> is provided.
|SettupFromRoot()|[[Type:Action|Action]]|Sets up the <code>Forward</code>, <code>Up</code>, and <code>Rotation</code> fields when <code>Root</code> is provided.
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
The EyeRotationDriver component can control the rotation of slots using the data from an EyeManager.