Component:GrabToolSnapper: Difference between revisions

From Resonite Wiki
Zandario (talk | contribs)
m Stub
 
m Fix link to ReferenceProxy
 
(2 intermediate revisions by 2 users not shown)
Line 14: Line 14:
<!--T:3-->
<!--T:3-->
== Usage ==
== 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.
This component is mostly for internal use, it is what is responsible for the [[Component:ReferenceProxy|ReferenceProxy]] text that appears when you grab slots and fields in the inspector.




Line 30: Line 30:
<!--T:6-->
<!--T:6-->
== Related Components ==
== Related Components ==
[[Category:Components|Grab Tool Snapper]]
[[Category:Components:Transform:Interaction{{#translation:}}|Grab Tool Snapper]]
[[Category:Components:Transform:Interaction|Grab Tool Snapper]]
[[Category:Components{{#translation:}}|Grab Tool Snapper]]
[[Category:ComponentStubs]]
[[Category:ComponentStubs]]

Latest revision as of 16:11, 7 March 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