Karting Mod: Animate Your World
Tutorial
·
foundational
·
+10XP
·
5 mins
·
(63)
Unity Technologies

The world of the Karting Micro-Game is very static right now. Let’s add some animation!
Languages available:
1. Open your Karting Microgame in Unity
Don't have this Microgame project yet? Start at the top with Getting Started with Unity.
A new version of the Karting Microgame is available, but you might already have it. You can verify that you have the latest Microgame by checking if you have the "ML_Agents" folder using the search bar in your Project window. (Note: after you type that in double check that next to the word “Search” you have the filter set to “All”). Got it? Skip to Step 2. If you don't get any results...
- We highly recommend you get the latest Microgame so you can follow all the new mods and get the unlockable Smart Karts.
- If you want to continue on Unity 2018.4 for a while longer, you can still go through this mod.
If you want to port your 2018.4 Karting project to Unity 2019.x, we advise against it. Get the latest Microgame if you want to use Unity 2019.x.
2. Animate Your World
Please note that as we update these projects, the screenshots provided might not reflect the exact folder structure of your project. If you notice it’s different, you can always search the name of the asset to find what you’re looking for.
Your world is very static right now. Let’s add some animation!

We have a simple component that changes the position, rotation, and scale of any GameObject in your scene. This can add some movement and breathe life into your world. Let’s make a tree do a little jiggle.
1. Select a tree in your scene.

2. In the Inspector, click Add Component and type in “Jiggler”

3. Click on the Jiggler component to add it.
4. By default, the Jiggler component will squish and stretch the tree a bit. Click Play and check it out.
Let’s customize it by making it spin.
5. In the Inspector, under Rotation Jig Amount, type in 100 for the Y value. This will make the Tree jiggle and spin around the Y axis.

6. Click Play and get a glimpse of what animating your world does for your game!
3. Extra Credit
Stretch your Unity skills with these additional mini-mods.
- Add more Jigglers around your scene. Make every tree bounce and shake.
- Try adding Position Jig as well.
- Add Jigglers to new props in your game—get new props to animate by following Karting Mod: Decorate Your World.
- Try adjusting the three Frequency parameters in the Jiggler. What do they do? Frequency is a common term that means “how many times” something happens. What does it mean here?
4. Join and Share
Join your allies on Connect to share your work and experiences.
Have you joined the Karting Creators Group on Unity Connect yet? If not, check it out. It's a good place to turn if you get stuck on any part of these mods, or to share your work with other Unity creators. Unity experts will also be checking in on this group to provide help and inspiration.