Masoud Posted Saturday at 08:37 PM Share Posted Saturday at 08:37 PM 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 Sunday at 01:20 PM Share Posted Sunday at 01:20 PM 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 Sunday at 05:24 PM Author Share Posted Sunday at 05:24 PM 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 yesterday at 05:56 AM Author Share Posted yesterday at 05:56 AM I think I should use a (velocity vector) field, right? Quote Link to comment Share on other sites More sharing options...
vicvvsh Posted yesterday at 05:50 PM Share Posted yesterday at 05:50 PM It's inconvenient compared to the packed primitives but if it's necessary you can try vop force dop. RBD_01.hipnc Quote Link to comment Share on other sites More sharing options...
Masoud Posted 23 hours ago Author Share Posted 23 hours ago Thanks, Victor. That’s really helpful. 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.