imported>Xekri No edit summary |
Add info |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:1--> | <!--T:1--> | ||
{{Infobox Component | {{Infobox Component | ||
|Image=WigglerComponent.png | |Image=WigglerComponent.png | ||
|Name=Wiggler | |Name=Wiggler | ||
}} | }} | ||
The '''Wiggler''' component is used to make a [[Type:FloatQ|FloatQ]] rotate randomly. Usually used on a slot's rotation. | |||
<!--T:2--> | <!--T:2--> | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|_target| | |_target|{{RootFieldType|FieldDrive`1|[[Type:FloatQ|FloatQ]]}}|TypeAdv0=true| The field to wiggle. | ||
|_offset|FloatQ| | |_offset|FloatQ| The base value to "add" to when rotating. | ||
|_speed|Float3| | |_speed|Float3| How fast to wiggle on each axis. | ||
|_magnitude|Float3| | |_magnitude|Float3| How much to wiggle on each axis | ||
|_seed|Float3| | |_seed|Float3| the seed for the randomness of the wiggle. | ||
}} | }} | ||
<!--T:3--> | <!--T:3--> | ||
== Usage == | == Usage == | ||
Used in tails, flags, antennas, and much more random wobbly rotating things. | |||
<!--T:4--> | <!--T:4--> | ||
== Examples == | == Examples == | ||
* [https://www.youtube.com/watch?v=q1dALfAXslo Wiggle things with Wiggler] by [[User:ProbablePrime|ProbablePrime]] | |||
<!--T:5--> | <!--T:5--> | ||
== | == See Also == | ||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}|Wiggler]] | [[Category:Components{{#translation:}}|Wiggler]] | ||
[[Category:Components:Transform:Drivers{{#translation:}}|Wiggler]] | [[Category:Components:Transform:Drivers{{#translation:}}|Wiggler]] |
Latest revision as of 03:48, 13 November 2024
Component image
The Wiggler component is used to make a FloatQ rotate randomly. Usually used on a slot's rotation.
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 FloatQ | The field to wiggle. |
_offset
|
FloatQ | The base value to "add" to when rotating. |
_speed
|
Float3 | How fast to wiggle on each axis. |
_magnitude
|
Float3 | How much to wiggle on each axis |
_seed
|
Float3 | the seed for the randomness of the wiggle. |
Usage
Used in tails, flags, antennas, and much more random wobbly rotating things.