Component:AvatarPoseOffset: Difference between revisions

From Resonite Wiki
Add related and format
Add more info
 
Line 7: Line 7:
}}
}}
The Avatar Pose Offset Component is used to offset a user's limb while they use a tool tip or sit in an anchor.  
The Avatar Pose Offset Component is used to offset a user's limb while they use a tool tip or sit in an anchor.  
{{Template:PoseFilters}}


<!--T:3-->
<!--T:3-->
Line 25: Line 27:
<!--T:6-->
<!--T:6-->
== See Also ==
== See Also ==
* [[Component:AvatarPoseSmoothLerp]]
{{Template:SeeAlsoPoseConstraint}}
* [[Component:AvatarPoseOffset]]
* [[Component:AvatarPoseRotationConstraint]]
* [[Component:AvatarPoseBoxConstraint]]
</translate>
</translate>
[[Category:Components{{#translation:}}|Avatar Pose Offset]]
[[Category:Components{{#translation:}}|Avatar Pose Offset]]
[[Category:Components:Users:Common Avatar System:Pose Filters{{#translation:}}|Avatar Pose Offset]]
[[Category:Components:Users:Common Avatar System:Pose Filters{{#translation:}}|Avatar Pose Offset]]

Latest revision as of 20:49, 20 December 2024

Component image 
AvatarPoseOffset component as seen in the Scene Inspector

The Avatar Pose Offset Component is used to offset a user's limb while they use a tool tip or sit in an anchor.

Pose filters are used with components such as the Component:GrabbableAvatarPoseFilter or Component:AvatarAnchor in order to restrict movement of any Type:BodyNode. These components do so by telling the game to apply these pose filters when they interact with said objects. In the case of an Avatar Anchor, this happens while seated. With the grabbable pose filter, this happens when any Type:IGrabbable with the component on the same Slot is grabbed. This component when used with such components can be used to control placement of a user's hand on an item.

Fields

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.
PositionOffset Float3 How much position to offset a body node by after previous pose constraints have been applied.
RotationOffset FloatQ How much rotation to offset a body node by after previous pose constraints have been applied.

Usage

this can be applied in a certain order relative to other constraints in Component:AvatarAnchor or in use with a tooltip. Because of this, the Component can be used to either make a user's hand(s) or feet positioned as an offset to where they originally are tracked or to apply an offset after another Pose component has restricted movement.

Examples

This is used extensively in 989onan's MMD player, where the hands are first constrained by other pose components and then their rotation offset by this component.

See Also