Component:Grabber

From Resonite Wiki
Revision as of 15:48, 2 March 2025 by 989onan (talk | contribs) (add remaining info needed.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
Grabber component as seen in the Scene Inspector

Grabber is a Component that is used in a User's hiearchy to allow the user to grab objects. This component is generated internally usually. Interacting with this component dynamically is done through Grabbable ProtoFlux Nodes.

Frooxius mentioned if a foot grabbing tracking device was made for wide consumer use, they would add it as a possible Grabber node. [1]

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. Some components stop their functionality when this field is disabled, but some don't.
AutoUpdateUser User The user handling updates for this Grabber.
ReleaseCheckRadius Float How far to check before releasing a grabbable from the _baseDistance. Usually used for dynamic bones.
CorrespondingBodyNode BodyNode The node this hand is associated with.
_scaleReference Grabber The grabber used as a scale reference, like the opposite hand.
_baseScale Float3 The default scale for the grabber.
_baseDistance Float The default distance for the grabber.
_holderSlot Slot The slot used to store objects being grabbed by the user.

Usage

This component can be triggered to grab things by the user. However, this requires a Component:TrackedHand to be attached under the user, or be part of an avatar spawned onto them. The tracked hand then auto generates this component. However, the component only will grab things when that tracked hand component detects that the user associated with it is trying to grab using the hand side it is assigned to. This does allow for multiple grabbers on the same hand however.

Examples

Used on the user's grab anchor slots on their hands to allow the user to grab things.

See Also

  1. This was mentioned in a YouTube video. Citation needed!