Component:EyeRotationDriver
From Resonite Wiki
More actions
Component image 
EyeRotationDriver component as seen in the Scene Inspector

The EyeRotationDriver can control the rotation of slots using the data from an EyeManager.
Fields
| Name | Type | Description |
|---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. |
EyeManager
|
EyeManager | The source of the eye rotation data. |
EyeMotionScale
|
Float | How much to multiply the target rotation by before applying it to an Eye. |
EyeMotionExp
|
Float | The exponent. This makes the eye rotate more or less as it reaches higher rotation target values. |
MaxSwing
|
Float | The maximum amount the eyes can rotate in degrees from forward facing. |
Eyes
|
list of Eye | A list of eyes to drive the rotation of. |
Eye
| Name | Type | Description |
|---|---|---|
Side
|
Xisdjdjejjsjsjwjqjehsuakshdjsjaj | Left or right eye. |
Root
|
Slot | the slot of this eye that should be rotated |
Up
|
Float3 | The up direction of Root in local space.
|
Forward
|
Float3 | The forward direction of Root in local space.
|
Rotation
|
[[Type:field drive of FloatQ|field drive of FloatQ]] | The rotation field of Root to drive.
|
Sync Delegates
| Method Name | Method type and Arguments. | Is the method hidden? | Description |
|---|
Usage
Set up automatically on avatars that are made using the Avatar Creator.
Examples
This article or section is a stub. You can help the Resonite wiki by expanding it.