Difference between revisions of "GrabInstancer (Component)"

From Neos Wiki
Jump to navigation Jump to search
(Described fields.)
 
Line 10: Line 10:
 
== Usage ==
 
== Usage ==
 
{{Table ComponentFields
 
{{Table ComponentFields
|Template|Slot|  
+
|Template|Slot| The slot that gets duplicated and grabbed when the GrabInstancer is grabbed.
|ActivateRoot|Bool|  
+
|ActivateRoot|Bool| Whether or not the GrabInstancer should activate the newly duplicated slot.
|EnableGrabbable|Bool|  
+
|EnableGrabbable|Bool| Whether or not the GrabInstancer should activate any Grabbable component on the newly duplicated slot.
|Physical|Bool|  
+
|Physical|Bool| If true, the GrabInstancer only reacts to physical grab.
|GrabPriority|Int|  
+
|GrabPriority|Int| When attempting to grab multiple objects at once, only those with the highest grab priority are grabbed.
 
}}
 
}}
 
== Behavior ==
 
== Behavior ==

Latest revision as of 16:15, 13 February 2023


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


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.
Physical Bool If true, the GrabInstancer only reacts to physical grab.
GrabPriority Int When attempting to grab multiple objects at once, only those with the highest grab priority are grabbed.

Behavior

Examples

Related Components