Sitemap
Any Programming

Practical software engineering across every stack from C# and .NET to Python, TypeScript, Go, and Rust. Hands-on tutorials, system design, design patterns, DevOps, and AI-assisted development, with working code you can actually run. By developers, for developers.

Member-only story

Making a RTS game #45: Importing models & animating our characters 2/2 (Unity/C#)

11 min readJan 20, 2022

--

⬅️ Tutorial #44: Importing models & animating our characters 1/2 | TOC | Tutorial #46: Saving our game scene data… ➡️

📕 Get the ebook and bonus material on Gumroad!
🚀 Find the code of this tutorial series on my Github!

In the last tutorial, we discussed how to import 3D assets into Unity that are shared in a common exchange format, .fbx, and we prepared a basic Animator to set our character’s default animation. Today, let’s continue and see how to add some smarts to our Animator, so that we can update the current animation from our C# scripts.

Note: in this tutorial, I’ll keep on using my little low-poly 3D knight character model. You can get it on CG Trader if you want! :)

Foreword: fixing our reference to the mesh renderer

Before we dive into animation stuff, there is a little thing we need to discuss: how to properly access our…

--

--

Mina Pêcheux
Mina Pêcheux

Written by Mina Pêcheux⁠

I’m a solo game dev & content creator. I love to make and talk about games (and also 3D and music)! Find me at: https://minapecheux.com :)

Any Programming
Any Programming

Published in Any Programming

Practical software engineering across every stack from C# and .NET to Python, TypeScript, Go, and Rust. Hands-on tutorials, system design, design patterns, DevOps, and AI-assisted development, with working code you can actually run. By developers, for developers.