Component:DestroyRoot

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 
Destroy Root component as seen in the Scene Inspector

This component marks where an object's root is for destroying grabbed objects if the game cannot find an object root component above the grabbed object.

Keep in mind, the grabber checks for object roots and destroy roots after releasing the object, which depending on the object and it's position will put it back where it was before it was grabbed. meaning this component can destroy the root object if a sub grabbed object is destroyed.

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.

Usage

Examples

Related Components