dansidi Posted March 11, 2020 Share Posted March 11, 2020 (edited) Hi, Can anyone explain how to use the Randomize Heading parameters on the Crowd Source? They don't seem to have any effect at all. I have set Velocity to zero, but still no luck yet. Any assistance would be great. Many thanks! Edited March 11, 2020 by dansidi Quote Link to comment Share on other sites More sharing options...
rayman Posted March 11, 2020 Share Posted March 11, 2020 It works, you just have to solve it in order to see the result. Quote Link to comment Share on other sites More sharing options...
dansidi Posted March 11, 2020 Author Share Posted March 11, 2020 vector look = set(fit01(rand(@ptnum), -1, 1),0,fit01(rand(@ptnum*23), -1, 1)); vector up = {0,1,0}; @orient = quaternion(maketransform(look, up)); matrix m = qconvert(@orient); v@v = {0,0,1} * m; So, my colleague gave me this voodoo to put in a wrangle BEFORE the Crowd Source node. It does the job, but still leaves me wondering what the Randomize Heading parameters are for on the Crowd Source Quote Link to comment Share on other sites More sharing options...
dansidi Posted March 11, 2020 Author Share Posted March 11, 2020 2 minutes ago, rayman said: It works, you just have to solve it in order to see the result. It doesn't - I was solving the crowd and it wasn't doing anything. Thanks for replying, though :o) Quote Link to comment Share on other sites More sharing options...
rayman Posted March 11, 2020 Share Posted March 11, 2020 Maybe a problem with your build - I just tested it and it was working fine. Houdini 18.0.287 Quote Link to comment Share on other sites More sharing options...
dansidi Posted March 11, 2020 Author Share Posted March 11, 2020 18.0.348 here. Thanks for trying it. It's obviously user error, but I can't see what it is. Quote Link to comment Share on other sites More sharing options...
rayman Posted March 11, 2020 Share Posted March 11, 2020 Check this CROWDS_random_heading.hipnc Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.