Cutscenes with Mecanim
Posted: November 19, 2014 Filed under: 3D Animation, Videos | Tags: c#, character animation, cutscenes, humanoid, mecanim, mecwarriors, unity3D Leave a commentWarriors! I have for you a brand new video tutorial on how to make cutscenes running with Mecanim! This is the longest video on our site yet, clocking in about 1 hour, so I recommend making sure you have the time to sit it out. As usual, if you have any questions for me just jump in and leave me a comment down below. As usual, here’s a Unity package file for you to download if you’d like to work along with the video.
Github repo (all projects): The MecWarriors Github
I look forward to hearing from everyone. Happy coding!
Scripting Root Motion
Posted: August 18, 2014 Filed under: 3D Animation | Tags: animation, c#, character animation, csharp, game dev, humanoid, mecanim, mecwarriors, tutorial, unity3D 9 CommentsHey, Warriors! It’s Adam here again, and today I’m going to show you how to set up a root motion animation system in your code.
In previous posts where I’ve gone over the fundamentals of setting up humanoid animation systems, I focused on creating character motion using both the standard Third Person Controller script and the root motion option in the Animator component.
As you may have discovered in those posts, these systems definitely have a few flaws that make them a little hard to work with at times. The TPC script is quite old and isn’t really meant to work with Mecanim which causes various headaches, and relying on root motion to determine your character’s movement means including unnecessary animation work early on in your development schedules. You can’t truly test a root motion-based movement system without some animations set up to make it work, and this means focusing on animation during your prototyping phases, which may not be a good option.
But fear not, Warriors! There is yet another way to control the awesome power that is Mecanim, and by the end of this post you’ll be using your home-brewed character controllers to control some of the more negative aspects that come with using a root motion system to move your characters around. Grab the example package, and let’s get on our way!
[Scripting_RootMotion]
Read the rest of this entry »
2D Animation, Part 4 – Code Explanation
Posted: April 2, 2014 Filed under: 2D Animation, Guest Posts | Tags: 2d animation, animation, c#, character animation, code, csharp, game dev, mecanim, scripting, unity2d Leave a commentPreviously on the site we hosted a guest series on 2D animation in Mecanim written by game artist Jonathan Ferriter. In Part 3 of the series, Jon showed us how take our 2D animations and implement them in the Unity engine using the two scripts provided in the post and titled Jump.cs and Move.cs.
In that third video, Jon sort of skims through the makeup of these scripts and doesn’t take the time to explain how they actually work, so I wanted to write this post in order to discuss them further. While writing this post I’ve gone through both scripts, learned how they work, and written comments in them so you might better understand their systems. You can download the updated scripts from this link.