Last updated
Last updated
The Wave Data class contains values used in multiple to adjust how big the changes that the effects produce are, and how fast they happen.
We sometimes use this class in other places to avoid creating similar data types; this means that its purpose is not always the same.
The primary way FP Motion uses the Wave Data values is to create waves to create , which makes the amplitude and rate values work as the height and the speed of that wave.
When changing what a wave looks like, the amplitude changes the height in different axes, making it possible not to produce any change in those.
The rate value changes the speed of the wave on a particular axis, making it possible for the developer to change the waves independently of each other.
Both the amplitude and the rate fields have a ‘magnitude’ value to accompany them; we multiply this value by each of them to make it easier to have higher numbers, but keep clean axis.