Jump to content

Apply Velocity to RBD Pieces by Position, issue..!


Masoud

Recommended Posts

 

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.gif

RBD.hip

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...