Component:Wobbler2D: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page Wobbler2D (Component) to Component:Wobbler2D: Creating component Namespace
Remove category
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=Wobbler2DComponent.png
|Image=Wobbler2DComponent.png
|Name=Wobbler 2D
|Name=Wobbler 2D
}}
}}
The '''Wobbler2D''' component can be used to make a value randomly change in a smooth fashion.


<!--T:2-->
<!--T:2-->
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|_target|IField`1|TypeString0=IField<float2>|
|Target|{{RootFieldType|FieldDrive`1|[[Type:Float2|Float2]]}}|TypeAdv0=true| The field to wobble.
|_baseValue|Float2|
|Offset|Float2| The starting point of the wobble.
|_speed|Float2|
|Speed|Float2| how fast to wobble.
|_magnitude|Float2|
|Magnitude|Float2| the amount to wobble from <code>Offset</code>
|_seed|Float2|
|Seed|Float2| the value to use as a seed for the randomness.
}}
}}


<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
* [https://www.youtube.com/watch?v=fJ5-IXKNq1Q Wobble things with the Wobbler] by [[User:ProbablePrime|ProbablePrime]]


<!--T:4-->
<!--T:4-->
== Examples ==
== Examples ==
* [https://www.youtube.com/watch?v=fJ5-IXKNq1Q Wobble things with the Wobbler] by [[User:ProbablePrime|ProbablePrime]]
{{stub}}


<!--T:5-->
<!--T:5-->
== Related Components ==
== See Also ==
* [[Component:Wobbler1D]]
* [[Component:Wobbler2D]]
* [[Component:Wobbler3D]]
* [[Component:Wobbler4D]]
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Wobbler 2D]]
[[Category:Components{{#translation:}}|Wobbler 2D]]
[[Category:Components:Transform:Drivers{{#translation:}}|Wobbler 2D]]
[[Category:Components:Transform:Drivers{{#translation:}}|Wobbler 2D]]

Latest revision as of 05:09, 13 November 2024

Component image 
Wobbler 2D component as seen in the Scene Inspector

The Wobbler2D component can be used to make a value randomly change in a smooth fashion.

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.
Target field drive of Float2 The field to wobble.
Offset Float2 The starting point of the wobble.
Speed Float2 how fast to wobble.
Magnitude Float2 the amount to wobble from Offset
Seed Float2 the value to use as a seed for the randomness.

Usage

Examples

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


See Also