Component:AvatarToolAnchor

From Resonite Wiki
Revision as of 00:23, 26 October 2024 by 989onan (talk | contribs) (add info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Component image 
AvatarToolAnchor component as seen in the Scene Inspector

Avatar Tool anchor is a component that defines where to place either the tooltip, toolshelf, or grab area anchors when the avatar is equipped. Or where to position the context menu when it is opened.

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.
AnchorPoint Point The type of tool anchor to place under the slot this component is on for this hand.

Point

Values
Name Value Description
Tool 1 Place the tooltip anchor for this hand here.
GrabArea 2 Place the grabber sphere anchor for this hand here.
Toolshelf 3 Place the toolshelf anchor for this hand here.
Menu 4 Position the context menu here when it is opened on this hand here.
Tooltip 0 Used to be used, OBSOLETE.


Behavior

Examples

Is automatically placed on avatars upon avatar creation on the hands. Can be moved to say the mouth, to allow grabbing objects with the mouth using the hand for which the anchor came from. Driving the parent value of the slot this component is on is an efficient way of doing this.

Related Components