Crowd not transitioning to proper animation

   1875   2   2
User Avatar
Member
41 posts
Joined: June 2010
Offline
Hey All,

I'm trying to setup houdini crowd. I'm not sure what's causing the clips to not load when the trigger switches the state. It looks like the transitions are working but the proper animated mesh is not being loaded.

Here's a youtube link:

https://youtu.be/37DWSRcRSUs [youtu.be]

You'll see the agents will just slide when it transitions out of the “walk” state. When the sim transitions back to walking then it works again.

Attachments:
houdini_crowd_test.hip (696.7 KB)

~t.goat
User Avatar
Staff
740 posts
Joined: Oct. 2012
Offline
Your agents only have a walk clip (you can see this by looking at the ‘agentclipcatalog’ primitive intrinsic in the geometry spreadsheet). The Agent SOP is loading all of the clips matching ${HIP}/agents/walk/*.bclip, which is only a single clip in your case.

You probably want to set the Agent Name parameter to the same value (e.g. ‘mocapbiped2’) on each Agent ROP so that the clips are all in the same directory. Then, adjust the Agent Name parameter on the Agent SOP to load the agent definition from that directory.
User Avatar
Member
41 posts
Joined: June 2010
Offline
Great. Thanks a lot. I got this working now
~t.goat
  • Quick Links