Setting Crowd agent orientation

   2219   2   1
User Avatar
Member
6 posts
Joined: 9月 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 - 2019年8月29日 10:07:54

Attachments:
crowd_orientation.JPG (446.9 KB)

User Avatar
Member
6 posts
Joined: 9月 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: 3月 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