Component:GrabbableParenter

From Resonite Wiki
This page contains changes which are not marked for translation.


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

Component image 
Grabbable Parenter component as seen in the Scene Inspector

Grabbable Parenter is a component that when paired with a collider that is not set to a Trigger or StaticTrigger type, it will receive objects that are released within it's collider. This is a volume based alternative to Grabbable Receiver Surface.

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.
ParentUnder Slot The slot to parent objects under instead of the slot this component is on.
Filter delegate of identity Func`2<IGrabbable, Bool> A Sync Delegate that takes an IGrabbable and returns a boolean. If a grabbable returns false when fed into this function, that IGrabbable will not be parented by this component.

Behavior

Unlike Grabbable Receiver Surface, Grabbable objects parented to this Slot will be reparented to it when dropped outside of its collider. This can be prevented with the GrabbableReparentBlock component.

Examples

ProbablePrime's tutorial on GrabbableParenter:

See Also