Component:CopyTransformFromWorld: Difference between revisions

From Resonite Wiki
add info
create
 
Line 1: Line 1:
{{Infobox Component
{{Infobox Component
|Image=CopyTransformFromWorldComponent.png
|Image=CopyTransformFromWorldComponent.png
|Name=Copy Transform From World
|Name=CopyTransformFromWorld
}}
}}
The '''CopyTransformFromWorld''' component  is used by the game to copy transforms from other worlds. This is mainly used by the dash world to copy transforms from objects like [[Component:WorldOrb|World Orbs]] when the user highlights them.
 
The '''CopyTransformFromWorld''' component  is used by the game to copy transforms from other worlds. This is mainly used by [[userspace]] to copy transforms from objects like [[Component:WorldOrb|world orbs]] when the user highlights them.


== Fields ==
== Fields ==
Line 17: Line 18:


== See Also ==
== See Also ==
* [[Component:WorldOrb]]
* [[Component:WorldOrb]]


[[Category:Components:Uncategorized{{#translation:}}|Copy Transform From World]]
[[Category:Components:Uncategorized{{#translation:}}|Copy Transform From World]]
[[Category:Components{{#translation:}}|Copy Transform From World]]
[[Category:Components{{#translation:}}|Copy Transform From World]]

Latest revision as of 18:57, 14 April 2025

Component image 
CopyTransformFromWorld component as seen in the Scene Inspector


The CopyTransformFromWorld component is used by the game to copy transforms from other worlds. This is mainly used by userspace to copy transforms from objects like world orbs when the user highlights them.

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.
CopyPosition Bool Whether to copy Position.
CopyRotation Bool Whether to copy Rotation.
CopyScale Bool Whether to copy Scale.

Usage

Examples

See Also