Masoud Posted August 9 Share Posted August 9 Hi everyone, I have an RBD Fractured Object wired into a Rigid Body Solver (Bullet), and I’d like to apply a custom velocity to each piece whose centroid’s Y position is below 0.5. I tried this inside a Point Wrangle within a SOP Solver, but it didn’t work: if (@P.y < 0.5) { v@vel = {0, 10, 0}; } I also attempted the same approach inside a Geometry Wrangle in DOPs, but that didn’t work either. Does anyone have suggestions on how to achieve this? Thanks in advance! RBD.hip Quote Link to comment Share on other sites More sharing options...
Atom Posted August 10 Share Posted August 10 It is easier to control if you used packed RBDs. Then you can overwrite the v@v attribute. Add an Assemble dop before the dopnetwork and check Create Packed Primitives. Quote Link to comment Share on other sites More sharing options...
Masoud Posted August 10 Author Share Posted August 10 Thank you, Atom. I actually need to apply velocity to "RBD fractured objects". Do you have any suggestions on how to achieve this? Quote Link to comment Share on other sites More sharing options...
Masoud Posted August 11 Author Share Posted August 11 I think I should use a (velocity vector) field, right? Quote Link to comment Share on other sites More sharing options...
vicvvsh Posted August 11 Share Posted August 11 It's inconvenient compared to the packed primitives but if it's necessary you can try vop force dop. RBD_01.hipnc 1 Quote Link to comment Share on other sites More sharing options...
Masoud Posted August 11 Author Share Posted August 11 Thanks, Victor. That’s really helpful. Quote Link to comment Share on other sites More sharing options...
paranoidx Posted August 31 Share Posted August 31 Use the Bullet SOP Solver it’s a quicker, cleaner setup than a classic DOP workflow. Configure your pieces with RBD Configure to pack fragments and set RBD properties; even when simming in DOPs, pre-process with this node before the solver. To inject velocity (@v) mid-sim, place a SOP Solver inside the DOP network. In the file, dive into the RBD SOP and add a SOP Solver at Post-Solve; inside it, an Update v wrangle updates per-point velocities on the RBD packed pieces. add_v_postsolve_rbd_v1a.hiplc 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.