Search the Community
Showing results for tags 'vexpression'.
-
Hello I'm trying to turn a pop wind object on/off. I first tried to just keyframe it, but then I get smooth values between 0 and 1 and all i want is on and off. I then noticed there is a handy 'use VEXpressions' box in there. but I do not know how to access 'Activation'. The editor does not like Activate, Active, Activation, with or without an @ Symbol. The SideFX help pages seem to indicate this is possible, but without showing how to do it. https://www.sidefx.com/docs/houdini/nodes/dop/popwind.html#parameters This is what I tired: if(@Frame == 1 || 20) { @Activate = 1; } if(@Frame == 10 || 30) { @Activate = 0; }
-
I set up a scene with crates that I want to get destroyed by a flip sim. figured out that I had to put a attribwrangle with i@bullet_sleeping = 1; so that RBD stays in place until the FLIP collides. The problem is now that with a little hit of flip to a group of crate the push activates all of them to break. I am a noob, but found that there is a threshold to control the amount of impact to activate the RBD. I just dont know which one of these it is and how to apply it to wrangler. bullet_angular_sleep_threshold bullet_ignore bullet_linear_sleep_threshold Documentation found here : https://www.sidefx.com/docs/houdini17.5/nodes/dop/rbdpackedobject.html Here is the original failed vid: https://www.dropbox.com/s/dl8ze5rv4vf6gse/Test.mp4?dl=0 Here is current failed test vid: https://www.dropbox.com/s/sa4sumxfqpqmdhq/Flud Test2.mp4?dl=0
- 1 reply
-
- vexpression
- wrangler
-
(and 6 more)
Tagged with:
-
Hi everyone, I have a big issue about exporting data from vexpression context. I used vexpression to set the velblend parameter in the "popadvectbyvolume" node. So I can advect particles differently along time. But I'm not sure what result number I have, so I want to export this value to check it out in the geometrie spreadsheet. I found this line in Houdini Help: export float @mytest = 0; So here is my code: #use a parameter to set the velblend velblend = @activate; #use a count to set the velblend differently when I want to if(@count >= 3) { velblend = 1/((@count/3)*5); } #want to export the final result to debug export float @velblend; My popnetwork works fine (my particles get different vel along time) and I don't have any error. But when I check the velblend attribut in spreadsheet, it stay to 0.0 So I tried different syntax like: export float @debug = velblend; export float @debug = @velblend; export float @parm_velblend; But each time I had an error : "velblend" is not a valid default for this prototype... I'm getting crazy right now!! If someone could have an idea, it could be great! Thx a lot. Cheers