Setting Crowd agent orientation

   2229   2   1
User Avatar
Member
6 posts
Joined: Sept. 2014
Offline
Hi

I'm trying to set up a simple crowd of standing agents ( no walking / running locomotion).

I need to have groups of agents facing each other. I'm able to do this with an attribute VOP on my point Normals feeding into the crowdsource node.
In the crowd_sim Dop Network this orientation is ignored.

How can I maintain these orientations in the crowd_sim dop Network? I've tried Agent Look At and poplookat with no luck.
I'm guessing I need to set some other attributes specific to particle orientaion?

Using Houdini 17.5293

Thank you

Edited by Llyr Williams - Aug. 29, 2019 10:07:54

Attachments:
crowd_orientation.JPG (446.9 KB)

User Avatar
Member
6 posts
Joined: Sept. 2014
Offline
I think I've got it working by copying the Normal Attribute to velocity with an attribute Wrangle

v@v = @N;

Hope this helps anyone else looking to do the same
User Avatar
Member
16 posts
Joined: March 2016
Offline
Llyr Williams
I think I've got it working by copying the Normal Attribute to velocity with an attribute Wrangle
v@v = @N;
Hope this helps anyone else looking to do the same

It took a while - but yes that helped me! Thanks - C
  • Quick Links