Hello,
I am a beginner in crowds in Houdini. I am trying to do a simple transition from one state to another inside a bounding box.
I want to go from “idle” to “walk”. It seems like I am getting some really crazy geometry in dops….I am basing this of the crowd example in the shelf. Not sure what i am doing wrong. Thanks
Crowd states and transition
1911 4 2- logix
- Member
- 22 posts
- Joined: Feb. 2015
- Offline
- cwhite
- Staff
- 727 posts
- Joined: Oct. 2012
- Offline
- logix
- Member
- 22 posts
- Joined: Feb. 2015
- Offline
thank you cwhite. That works. However I don't really understand why.
When I change the initial state to “idle”, why does that work. There are no clips I created called “idle”, there is only “idle_1” and “idle_2” and so on. Is the initial state in sops directly linked to what the name of the Crowd state node is in DOPS?
Also, there are a bunch of agents outside the bounding box now that are transitioning into the walk state even though my only trigger is a specified bounding box region.
Thank you .
When I change the initial state to “idle”, why does that work. There are no clips I created called “idle”, there is only “idle_1” and “idle_2” and so on. Is the initial state in sops directly linked to what the name of the Crowd state node is in DOPS?
Also, there are a bunch of agents outside the bounding box now that are transitioning into the walk state even though my only trigger is a specified bounding box region.
Thank you .
- cwhite
- Staff
- 727 posts
- Joined: Oct. 2012
- Offline
Yes, the Initial State parameter controls which state the agent starts out in for the simulation. States don't necessarily need the same name as a clip.
I think the issue you're seeing is that the “idle_*” pattern for the clip names in the ‘idle’ state includes the two “idle_to_walk” transition clips, so some agents appear to be walking because of that
I think the issue you're seeing is that the “idle_*” pattern for the clip names in the ‘idle’ state includes the two “idle_to_walk” transition clips, so some agents appear to be walking because of that
- logix
- Member
- 22 posts
- Joined: Feb. 2015
- Offline
-
- Quick Links