Skip to content

Tutorial: Track Switching

Track switching is a big gotcha.

Getting exact switch position

Previous simulation

Get LastKeyframe

Set Keyframe.TransitionType to NONE

Do next simulation

Why?

If you do not set the TransitionType to NONE, it will linearly tween with the next track's position but on the first track. That position may be wildly different than the first, causing it to look like it skips through for a few frames.