Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

World time animation

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

Resonite has several components for procedural animation that use world time as the progress value. Since the output at each frame only depends on the settings and current time (i.e. it's stateless), it can be calculated by each computer independently and stay in sync, with zero additional network cost. However, the lack of memory means it's not possible to seamlessly change the speed; for example, if the instance has been up for 123.45 seconds, an object with a 1-second animation will be 45% along the loop, even if it had just been changed from a 10-second animation that was 34.5% along.

Due to floating point inaccuracy, time-based animations can become choppy or break entirely in long-running worlds.[1]

Components

The following components make values loop within a range, similar to ValueRepeat:

TimeSineDriver is similar, but uses a sine function instead of a linear wrap, allowing for a smooth back-and-forth loop instead of sharp cuts or sudden bounces.

The following components use a noise function, making the output move unpredictably within a specified range:

Example animations of each of the components.

References