I need help with crowd simulation.

   450   4   0
User Avatar
Member
10 posts
Joined: Feb. 2023
Offline
I am currently working on a Houdini Crowd Simulation. When I open the hip file, I can see a bridge model and agents placed on the bridge. However, I am experiencing the following issues:

1. In /obj/agent, I set the direction using attribwrangle1, but when I run the simulation in dopnet, the agents are facing different directions.
2. I would like the agents to stay within the bridge area, but they keep moving outside of it.

Attachments:
crowd_test_v001.hip (5.2 MB)

User Avatar
Member
2573 posts
Joined: June 2008
Offline
You do have some setup issues on the crowd solver. Your SOP path for the terrain points to the out for your agents. Try pointing it to the /out for your leg/bridge. Change the mode from Direction vector to UP Attribute.
Edited by Enivob - April 20, 2024 07:36:11
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
10 posts
Joined: Feb. 2023
Offline
Oh! The direction is fixed! Thanks.
I'm still getting agents leaving the leg.
User Avatar
Member
10 posts
Joined: Feb. 2023
Offline
Changing the Mode of the Terrain to Up Attribute fixed the agents that were exiting the leg.
User Avatar
Member
10 posts
Joined: Feb. 2023
Offline
But, as you can see in the photo, I ran into a problem.

Attachments:
스크린샷 2024-04-20 221947.png (351.6 KB)

  • Quick Links