Component:Wobbler1D: Difference between revisions

From Resonite Wiki
imported>Xekri
No edit summary
 
Remove category
 
(3 intermediate revisions by 3 users not shown)
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=Wobbler1DComponent.png
|Image=Wobbler1DComponent.png
|Name=Wobbler 1D
|Name=Wobbler 1D
}}
}}
The '''Wobbler1D''' 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<float>|
|Target|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv0=true| The field to wobble.
|_baseValue|Float|
|Offset|Float| The starting point of the wobble.
|_speed|Float|
|Speed|Float| how fast to wobble.
|_magnitude|Float|
|Magnitude|Float| the amount to wobble from <code>Offset</code>
|_seed|Float|
|Seed|Float| the value to use as a seed for the randomness.
}}
}}


Line 24: Line 24:
<!--T:4-->
<!--T:4-->
== Examples ==
== Examples ==
{{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 1D]]
[[Category:Components{{#translation:}}|Wobbler 1D]]
[[Category:Components:Transform:Drivers{{#translation:}}|Wobbler 1D]]
[[Category:Components:Transform:Drivers{{#translation:}}|Wobbler 1D]]

Latest revision as of 05:09, 13 November 2024

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

The Wobbler1D 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 Float The field to wobble.
Offset Float The starting point of the wobble.
Speed Float how fast to wobble.
Magnitude Float the amount to wobble from Offset
Seed Float 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