Component:AvatarNeckOffset: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page AvatarNeckOffset (Component) to Component:AvatarNeckOffset: Creating component Namespace
add info
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
|Name=AvatarNeckOffset
|Name=AvatarNeckOffset
}}
}}
 
Avatar Neck Offset is a component that allows for dynamically lengthening and shortening the neck of an avatar.
<!--T:2-->
== Intoduction ==
{{stub}}


<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|Priority|Int| {{stub}}
|Priority|Int| How much priority this component takes over other components that constrain or change [[Component:AvatarPoseNode|Avatar Pose Nodes]]
|Offset|Float3| {{stub}}
|Offset|Float3| How much to offset the user's neck from it's original position in local space.
|_activeUser|User| {{stub}}
|_activeUser|User| Internal. Automatically updates to active user of this component that's being affected by it.
}}
}}


<!--T:4-->
<!--T:4-->
== Behavior ==
== Behavior ==
{{stub}}
The effect of this component when used updates instantly.


<!--T:5-->
<!--T:5-->
== Examples ==
== Examples ==
{{stub}}
This is used in a silly user created item dubbed "the giraffe hat" that lengthens the user's neck when worn on their head.


[[Category:Components|AvatarNeckOffset (Component)]]
[[Category:Components:Users:Common Avatar System{{#translation:}}|Avatar Neck Offset]]
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Avatar Neck Offset]]
[[Category:Components:Users:Common Avatar System|AvatarNeckOffset (Component)]]

Latest revision as of 16:17, 15 October 2024

Component image 
AvatarNeckOffset component as seen in the Scene Inspector

Avatar Neck Offset is a component that allows for dynamically lengthening and shortening the neck of an avatar.

Usage

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.
Priority Int How much priority this component takes over other components that constrain or change Avatar Pose Nodes
Offset Float3 How much to offset the user's neck from it's original position in local space.
_activeUser User Internal. Automatically updates to active user of this component that's being affected by it.

Behavior

The effect of this component when used updates instantly.

Examples

This is used in a silly user created item dubbed "the giraffe hat" that lengthens the user's neck when worn on their head.