Component:CopyTransformFromWorld: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
 
Line 3: Line 3:
|Name=Copy Transform From World
|Name=Copy Transform From World
}}
}}
{{stub}}
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.


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|CopyPosition|Bool|
|CopyPosition|Bool| Whether to copy Position.
|CopyRotation|Bool|
|CopyRotation|Bool| Whether to copy Rotation.
|CopyScale|Bool|
|CopyScale|Bool| Whether to copy Scale.
}}
}}


== Behavior ==
== Usage ==


== Examples ==
== Examples ==


== See Also ==
== See Also ==
* [[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]]
[[Category:ComponentStubs]]

Latest revision as of 00:43, 23 December 2024

Component image 
Copy Transform From World 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 the dash world 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.
CopyPosition Bool Whether to copy Position.
CopyRotation Bool Whether to copy Rotation.
CopyScale Bool Whether to copy Scale.

Usage

Examples

See Also