Stadium crowd sim - How to get all bodies facing a set point?

   1117   2   0
User Avatar
Member
31 posts
Joined: Aug. 2017
Offline
Hi everyone! So I have set up a stadium crowd sim but all the agents's bodies are facing the same direction. Just wondering, is there a way to get all the agents in my scene to face their bodies to a set point? Similar functionality to the look at shelf tool which seems to only work with head direction. I attached the hip file if anyone wants to take a look.

Image Not Found

Attachments:
crowd_rnd_v003.hipnc (902.9 KB)

User Avatar
Member
1737 posts
Joined: May 2006
Online
Agents will point along @v if that attribute exists, here's one of many ways to do that. Its in the crowdsource object.

Image Not Found
Edited by mestela - Dec. 7, 2018 16:29:15

Attachments:
crowd_stadium_lookat.hipnc (912.0 KB)

http://www.tokeru.com/cgwiki [www.tokeru.com]
https://www.patreon.com/mattestela [www.patreon.com]
User Avatar
Member
31 posts
Joined: Aug. 2017
Offline
mestela
Agents will point along @v if that attribute exists, here's one of many ways to do that. Its in the crowdsource object.

Image Not Found
Awesome, thank you so much! This is exactly what I was looking for
  • Quick Links