Component:DestroyRoot: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page DestroyRoot (Component) to Component:DestroyRoot: Creating component Namespace
add info
 
Line 7: Line 7:
|Name=Destroy Root
|Name=Destroy Root
}}
}}
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 <b>after</b> 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.


<!--T:2-->
<!--T:2-->
Line 22: Line 25:
== Related Components ==
== Related Components ==
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Destroy Root]]
[[Category:Components{{#translation:}}|Destroy Root]]
[[Category:Components:Transform:Tagging{{#translation:}}|Destroy Root]]
[[Category:Components:Transform:Tagging{{#translation:}}|Destroy Root]]

Latest revision as of 16:14, 19 October 2024


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