art3mis Posted July 19, 2017 Share Posted July 19, 2017 (edited) Using this excellent example as a starting point to staggger the start of simulation objects in a bullet solver http://www.tokeru.com/cgwiki/index.php?title=HoudiniDops#RBD_inherit_.40v_and_.40w_after_initial_frame But how would I modify this example so that the start is random instead of staggered? This gif illustrates my original problem. Notice the tiles under the sphere clump and fall together. Edited July 19, 2017 by art3mis Quote Link to comment Share on other sites More sharing options...
Noobini Posted July 19, 2017 Share Posted July 19, 2017 what about this timed release by mestela ? http://www.tokeru.com/cgwiki/index.php?title=HoudiniDops#RBD_packed_prims_and_deforming_geo Quote Link to comment Share on other sites More sharing options...
art3mis Posted July 20, 2017 Author Share Posted July 20, 2017 Thanks. But I need a random, not any type of staggered effect. Did a bunch of searching and think I'm closer. This thread in particular http://forums.odforce.net/topic/16867-per-fracture-object-density/ The key find for me in this thread I think is use of the Active Value DOP with default operation = Set Always. I then simply need a proper expression in the Active field, I'm guessing using $OBJID, that will evaluate to 1 at a random frame between say 1 and 100 using the OBJID as a seed for the random frame interval. Thoughts? Quote Link to comment Share on other sites More sharing options...
Sean-R Posted July 21, 2017 Share Posted July 21, 2017 If you're working with packed objects you can set an active attribute on each objects in the SOP level. I wrote this expression in a Point Wrangle to randomise the activation: int randomF = ceil(fit01(rand(@ptnum), 1,30)); if(@Frame>=randomF){ i@active = 1; } ; Then under the rbdpackedobject1 node in the dopnet I checked "Overwrite attributes from SOPs" randomActivation.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.