Scripted Animation
Initiated with a single server side script code that takes a Prop ID and Sequence
Each sequence consists of multiple Frames that run for a specified Duration. When the duration is reached, the sequence moves on to the next frame until there are no more frames.
Each frame consists of one or more Transforms. Multiple transforms within a single frame all run in parallel.
Sequence Structure
A sequence structure is a Squirrel table made up of nested arrays, tables and primitives.
{
frames =
[
// Frame 1
{
duration = ..,
transforms =
[
// Transform 1
{
....
},
// Transform 2
....
]
},
// Frame 2
....
],
....
}
Scale
Rotate
Translate
Goto