Houdini crowd data access with python
1238
2
2
szmatefy
Member
141 posts
Joined: Dec. 2015
Offline
July 21, 2018 3:11 p.m.
Hi guys I need to access a crowd agents data like bounding box, transforms, etc. I can iterate through the points, but I found no example how to access the agents within. Does anybody have idea how to start?
cwhite
Staff
727 posts
Joined: Oct. 2012
Offline
July 21, 2018 4:48 p.m.
If you iterate over the primitives, you can access the agents via the hou.Agent class
szmatefy
Member
141 posts
Joined: Dec. 2015
Offline
July 22, 2018 10:48 a.m.
Thanks a lot! Now it looks like It works,. I just need to figure out how to get the rotation.