Component:GrabToolSnapper: Difference between revisions

From Resonite Wiki
Zandario (talk | contribs)
m Stub
 
m ProbablePrime moved page GrabToolSnapper (Component) to Component:GrabToolSnapper: Creating component Namespace
(No difference)

Revision as of 06:28, 20 January 2024


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