Houdini Crowd Multiple Transitions for One Trigger
2042 1 0-
- jotreyes
- Member
- 2 posts
- Joined: Aug. 2016
- Offline
-
- Enivob
- Member
- 2658 posts
- Joined: June 2008
- Offline
You can combine multiple crowdtrigger values into a single trigger value by using the crowdtriggerlogic node. It allows bitwise combination from trigger sources. Kind of like a trigger merge.
To construct arbitrary triggering of crowdtransition nodes you can place the crowdtrigger into VEX Custom Expression node. Then you can fetch any attribute already present on the agent point. Store custom values on points then fetch them using the trigger to activate crowdtransitions.
This is one way to transition into an arrival clip once an agent reaches a destination.
To construct arbitrary triggering of crowdtransition nodes you can place the crowdtrigger into VEX Custom Expression node. Then you can fetch any attribute already present on the agent point. Store custom values on points then fetch them using the trigger to activate crowdtransitions.
if (@my_custom_value > 0.5 ) {
i@trigger = 1;
} else {
i@trigger = 0;
}This is one way to transition into an arrival clip once an agent reaches a destination.
if (length(v@P-v@my_goal) < 0.1 ) {
i@trigger = 1;
} else {
i@trigger = 0;
}Edited by Enivob - July 11, 2017 17:27:46
Using Houdini Indie 20.5
Windows 11 64GB Ryzen 16 core.
nVidia 3060RTX 12BG RAM.
Windows 11 64GB Ryzen 16 core.
nVidia 3060RTX 12BG RAM.
-
- Quick Links

