CookEquationTrack
Write motion as maths. Type an equation of time and other tracks, and get a track you can wire or read like any curve.
A CookEquationTrack is a CookTrack with no keyframes: its value is its Equation, worked out at each time, such as math.sin(t * 3) * 0.5 + A. It can use t, pi, numbers, arithmetic, other tracks by name and functions such as sin, abs, min, max, clamp, lerp and sqrt, with or without math. in front. A parse error, an unknown track or a loop shows in red on its row, and the track then outputs 0.
Properties
| Name | Type | Default | Description |
|---|---|---|---|
| Equation | string | "" | A Luau-style expression of t, numbers, math functions and other tracks by name, which give their output at the same time. |
