Making Spaceships Fly Using Unity’s Timeline

Objective: To create a seamless animation track out of multiple animation clips to make a spaceship fly, using Timeline in Unity.

It is time to have a little fun moving on from the Matching Clip Offsets article to see if we can take 3 separate animation clips (created in Timeline) and join them all together to create a seamless animation sequence.

Scene Setup

I have taken a Star Destroyer 3D model asset from Filebase and imported it into a basic 3D scene along with with a custom 6 sided cube space skybox.



I have also gone ahead and created 3 separate animation clips in Timeline that look like this:

Animation 1

Animation 1

Animation 2

Animation 2

Animation 3

Animation 3

Creating the Seamless Transition Using Matching Clip Offsets

I am going to be using ‘Match Offsets to Next Clip’ from within the animation track to make this happen.

Using the ‘Match Offsets to Next Clip’ feature to join animation clips

Right clicking on clip 1, let’s then select ‘Match Offsets to Next Clip’ and scrub through the time to watch the changes:

Clip 1 is now offset to match clip 2’s start position and rotation

Straight away we can see that when clip 1 ends and clip 2 starts, it doesn’t jump back to clip 2’s starting position and rotation. However, we can also see the clip 1 now has an offset on it’s position and rotation at the start to make this seamless transition happen.

I am going to do the same thing now for clips 2 and 3, and let’s take a look between those two:

Clip 2 is now offset to match clip 3’s start position and rotation

Removing the Pauses and Watching in Realtime

Highlight all 3 animation clips and right click on one of them, selecting ‘Tile’ and it will remove all the in between pauses to finalise our seamless transition.

Highlight all 3 animation clips and right click — Tile
Removed the pauses in between the clips, creating a seamless track
Seamless animation using 3 separate clips and only Timeline




Passionate Unity Game Developer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Hammer for Mac — Moving out of the Mac App Store — Forge

WooCommerce — Send SMS with a custom gateway on order checkout

3 Assumptions About Stepmoms — That Don’t Always Ring True

A Better Terminal

Getting Started with Internet of Things (IoT)

So, you want to Build an Alexa Skill?

Understanding resource limits in kubernetes: cpu time

Announcing k8s-image-availability-exporter for Kubernetes

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Chris Hilton

Chris Hilton

Passionate Unity Game Developer

More from Medium

Making a Treasure Chest System Using Timeline in Unity

Loading Scenes In Unity

IK Weapon System in Unity

Working with Screen Space Reflections in Unity’s HDRP