Component:GrabInstancer: Difference between revisions

From Resonite Wiki
add template
Automated: update Fields, Categories
Line 13: Line 13:
|ActivateRoot|Bool| Whether or not the GrabInstancer should activate the newly duplicated slot.
|ActivateRoot|Bool| Whether or not the GrabInstancer should activate the newly duplicated slot.
|EnableGrabbable|Bool| Whether or not the GrabInstancer should activate any Grabbable component on the newly duplicated slot.
|EnableGrabbable|Bool| Whether or not the GrabInstancer should activate any Grabbable component on the newly duplicated slot.
|SetInstancePersistent|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Bool|Bool]]>'''|TypeAdv3=true|
|Physical|Bool| If true, the GrabInstancer only reacts to physical grab.
|Physical|Bool| If true, the GrabInstancer only reacts to physical grab.
|GrabPriority|Int| {{Template:Grab Priority}}
|GrabPriority|Int| {{Template:Grab Priority}}
Line 22: Line 23:
== Related Components ==
== Related Components ==
</translate>
</translate>
[[Category:Components{{#translation:}}|GrabInstancer (Component){{#translation:}}]]
[[Category:Components{{#translation:}}|Grab Instancer]]
[[Category:Components:Transform:Interaction{{#translation:}}|GrabInstancer (Component){{#translation:}}]]
[[Category:Components:Transform:Interaction{{#translation:}}|Grab Instancer]]

Revision as of 21:33, 3 March 2024


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


Component image 
GrabInstancer component as seen in the Scene Inspector

Intoduction

The GrabInstancer component spawns a new copy of Template and attaches it to the user's hand whenever the slot it is attached to is grabbed.

Usage

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.
Template Slot The slot that gets duplicated and grabbed when the GrabInstancer is grabbed.
ActivateRoot Bool Whether or not the GrabInstancer should activate the newly duplicated slot.
EnableGrabbable Bool Whether or not the GrabInstancer should activate any Grabbable component on the newly duplicated slot.
SetInstancePersistent Nullable`1<Bool>
Physical Bool If true, the GrabInstancer only reacts to physical grab.
GrabPriority Int Determines what gets grabbed if several grabbable objects are touching someone's grab sphere. The IGrabbable with the highest priority will be grabbed first. If the highest priority ties with another IGrabbable, it will grab both of those and ignore any lower priority IGrabbables.

Behavior

Examples

Related Components