Component:GrabToolSnapper

From Resonite Wiki
Revision as of 16:11, 7 March 2024 by PJB (talk | contribs) (Fix link to ReferenceProxy)
(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 
Grab Tool Snapper component as seen in the Scene Inspector


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.
Offset Float3

Usage

This component is mostly for internal use, it is what is responsible for the ReferenceProxy text that appears when you grab slots and fields in the inspector.


You can still use it if you would like, please check the behavior section.

Behavior

If this component is added to a IGrabbable Object, when this object is grabbed it will be positioned at the tip of your Tool plus any offset specified in the offset field. On it's own this is not that usable but this is used internally with some UI Fields and Proxies to provide the blue text as shown above.


Examples

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


Related Components