Edmond Boulet-Gilly

Edmond BG

About Me

VFX Artist


[Profile pending approval]

Recent Forum Posts

Crowd solver transition not using random offset May 4, 2021, 1:06 a.m.

Glad it helped.

Regarding the 3 line of VEX here is what you need to know :
-The crowd solver puts a clip times array attribute on each agent, buy default there is only one value : the current clip time of the clip currently playing on that agent. The time loops based on the length on the clip and the time scale of the solver.
-During a transition there is suddenly 2 values : the clip time of the current clip and the clip time of the target clip.

So when you check the length of that array it will return a length of one if there no transition going on or a length of 2 if there is a transition going on. And the VEX code operates so that if there is 2 values
then set the target clip time to a random value plus the time

And at the end of transition the target clip times becomes the current clip time, the length of the array goes back to 1, and the clip time will loop normally.

Keep in mind that the pop wrangle runs on each agent independently so you can have agents that are going through a transition and some that are not and everything will still works perfectly.

Crowd States and Random Clip Offset not working? May 1, 2021, 1:03 a.m.

Crowd solver transition not using random offset May 1, 2021, 1:01 a.m.

Hey, here is the best work around that I found :

-put a multisolver after the crowd solver
-edit the clip times array using a pop wrangle

you can choose what is the the target cliptime after the transition and add a random offset using rand(@id), hope that helps.
see hip file