Optimizer
Optimizer
Use gradient descent optimization to achieve precise roll, pitch, or yaw values.
Using the optimizer to automatically adjust banking for a perfect roll-to-zero turn
How It Works
The optimizer adjusts selected keyframe values to reach target orientations at specific track positions.
Process: Gradient descent algorithm iteratively modifies the keyframe value until the roll, pitch, or yaw at the playhead position matches your target.
Roll-to-Zero Example
Create a banked turn that returns to level track.
Setup the Turn
- Create a Geometric Section with 4 roll speed keyframes
- Lower the 2nd keyframe - banks track left
- Raise the 3rd keyframe - banks track back right
- Problem: Final roll rarely returns to exactly 0°
Optimize the Exit
- Position Playhead at the 4th keyframe (or beyond)
- Right-click the 3rd keyframe
- Optimize → Roll
- Target: Leave at 0° (default)
- Start - Optimizer adjusts the keyframe value
Result
The 3rd keyframe value automatically adjusts until the track roll at the playhead position reaches exactly 0°.
Optimization Targets
Target | Use Case | Example |
---|---|---|
Roll | Banking control | Level track exits, precise banking angles |
Pitch | Elevation control | Specific hill heights, level sections |
Yaw | Direction control | Exact turn angles, parallel sections |
Usage Tips
Typically, optimization works best by creating 3 keyframes, placing the playhead at the final keyframe, and optimizing the middle keyframe.
Next: Advanced Techniques - Complete Circuits