"The Unfortunate Horses" -- or work with what you got and also throw some horses down a hole 

MPC Lead Crowd Technical Director Mikael Pettersén will show how to address and resolve common issues an artist would encounter when creating a more dynamic crowd simulation. These common issues include bipedal vs. quadrapedagents, agent prep tips, applying secondary effects on agents, fixing clips, steering and arching clips, agent configurejoints (collision layers+joint limits), ragdolls, motors, and caching.

Chapter 1: Adding Hair

Using the horse HDA to set up the agent, looking quickly at the rig and comparing it to mocpaBiped3. We will also add some groom to the horse agent.

Chapter 2: Leg IK

 Setting up leg IK with the agent prep and explaining why you need it. 

Chapter 3: Arcing Clips

Working with bclips and apply arcing on our horse agents, for more realistic movement. Will also look at the bclips and explain why they won’t work in their current state. Then show how to fix the clips in CHOPs.

Chapter 4: Tweaking the Run Clip

Blending the run, left/right clips together and all the steps necessary to adjust for correct position and length of clips, so we have nice smooth clip instead of madness. 

Chapter 5: Adding Collision Shapes

Creating collision geometry and rotational limits can be tricky because we have a lot of transforms and you don't want collision shape on each one. Additionally, there are prebaked orientations on the horse, which will make the rotational limits a bit weird. 

Chapter 6: Agent Configure Joints

Now we take care of configuring joint limits and how to get around our prebaked orientations. Otherwise, we will have some very sad horsey agents.  

Chapter 7: Simple Python Script

Because we can run the script through each parameter instead of having to click on each one. Script is in the zipped download file below. 

Chapter 8: Tweaking the Joint Limits

Now we take care of configuring joint limits and how to get around our prebaked orientations.

Chapter 9: Simulating the Crowd

We have a cached simulation where the ground collapses and our horses fall into the abyss, because we will make a path for them to enable this.

Chapter 10: Ragdoll Simulation

Now we bring the collision geometry into simulation and look at how to trigger them. Trigger them straight into an abyss. 

Chapter 11: Hair Simulation

Simulating and caching out the hair, and dealing with a few more problems you will surely encounter. See the beautiful groom action happening there? 

In the *.zip, you will find scene files for each chapter, so you can follow along.
You will also find the python script, the cached simulation and a few bclips to use on our horsies.  


  • mdsanima 1 year, 4 months ago  | 

    very nice tutorial here, but video 2 its didn't work - the same video no 1

    • fianna 1 year, 4 months ago  | 

      whoops :) link has been updated

      • mdsanima 1 year, 4 months ago  | 

        thank you

  • geordiemartinez 1 year, 4 months ago  | 

    as always, excellent work, Mikael.

    • mixepix 1 year, 2 months ago  | 

      Thanks Geordie!

  • panuche 1 year, 4 months ago  | 

    Muchas gracias

  • Lenscowboy 1 year, 4 months ago  | 

    Great tutorial, but where do I find the horse rig itself?

    • mixepix 1 year, 3 months ago  | 

      Cheers, the rig comes with the scene files.

  • neshamota 1 year, 3 months ago  | 

    Mikael, you're amazing teacher, all these tutorials are extremely helpful!
    It will be so great to have in future more detailed tutorial about dynamic IK that you talked in 2nd video, as well as some advanced ragdoll stuff. Like I've seen in your work in Nutcracker, where agents get hit, and it influes all the body, but agent doesn't fall and recovers. And other ways of mixing ragdoll physics with the animation clips, like blending of 50% ragdoll and 50% animation, so for example agent will walk like drunk, but will continue walking with locomotion.
    Cheers and thank you for all your work!

    • mixepix 1 year, 2 months ago  | 

      Cheers! I'm happy that you like it. I will definitely revisit ragdolls in the future.

  • patar 11 months, 4 weeks ago  | 

    is it possible to mirror it to youtube? vimeo is blocked in my country
    thanx in advance

Please log in to leave a comment.