Step 3: Create procedure animations
- Last UpdatedJan 20, 2025
- 1 minute read
For the Single Animation Clip approach, design your procedure animation into steps (or segments) such that each step is 60 frames (this is configurable). For the Ball Bearing Replaced procedure with 11 steps, the AnimationClip length will be 660.
This is the same procedure as described in .
Create animation clip
1. Create an AnimationClip using these field values.
|
Field |
Value |
|---|---|
|
fps |
30 |
|
length |
660 |
|
active |
true |
|
loop |
true |
2. Add Channels and Keyframe data.
The mesh fields rotationOffset, positionOffset, and visible will be added as channels with Channel Type of Curve.
Remember to check the loop option to enable looping for every step of the procedure.
We will also add coroutines for managing camera movements and highlights as channels with Channel Type of Impulse along with parameter values.