Component:AvatarPoseOffset

From Resonite Wiki
Revision as of 20:49, 20 December 2024 by 989onan (talk | contribs) (Add more info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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