Crowds change behavior from run to climb

   2623   3   0
User Avatar
Member
124 posts
Joined:
Offline
Hi,
I have a walk in place animation and climb in place animation of a monkey.
As soon the crowd hits a wall agents change the bahavior to climb but
the problem is, the particles direction still drag the crowd in Z-direction
instead of climbing up Y.

How can I tell the crowd solver to change the particle motion from Z to Y?
Look at the Flipbook in the attachement

Greets Tom

Attachments:
ip.mp4 (2.0 MB)

User Avatar
Member
2537 posts
Joined: June 2008
Offline
You may want to add another attribute to the system just for monitoring for your special case. You need the popseek to look at that attribute and change the way it seeks based upon that flag. So when you transition to climbing set the flag on the new attribute and then on the next frame the popseek can review that attribute. You could even come up with a switch that monitors the attribute. When it is set an alternate popseeksteer is used instead of the walking one.
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
124 posts
Joined:
Offline
ok, thank you for your idea, I have to look how I can manage this in all these nodes ;-)
User Avatar
Member
2537 posts
Joined: June 2008
Offline
Attributes can be added to the crowd system inside the CrowdSource node. Just insert an AttributeWrangle before the OUT node and type in your new attributes.

You can then reference those attributes inside the CrowdSim network. For example change the CrowdTrigger (orange node) type to Custom VEX Expression and the node essentially becomes a wrangle where you can examine any attribute and use logic to set the @itrigger as necessary.
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
  • Quick Links