Jump to content

RBD Fractured Object Inherit Velocity from Point Velocity


zdimaria

Recommended Posts

I have an RBD Fractured Object, which has changing point velocities. I am trying to use Inherit Velocity from Point Velocity. On the first frame, everything works as expected, but at frame 2, it doesnt. I feel like its because the initial state velocity is just that, explicitly a first timestep velocity. I am new to DOPs and am having a hard time figuring out how to achieve this.

Any help would be greatly appreciated.

Zak

velocity.hipnc

Link to comment
Share on other sites

yea, Im pretty sure the inherit point vel option is only for initial state. You could use an rbd state node with a point expression in the vel sections. set it to "set always" so it evaluates at each time step, and grab the vel attribute value from SOPs.

Thank you, the RBD State node worked perfectly.

Link to comment
Share on other sites

  • 2 weeks later...

instead of the $OBJ-1, just pick a point number, ie: 1. The point expression will get the velocity data from that one point. Also, dont put "vx" just put "v". The number at the end of the expression says if its x, y, or z using 0, 1, or 2. point("../geo1", 1, "v", 0)

Havent tried this, but I think you can could use an attribute promote SOP to promote the v attribute from point to detail level as an average. Then use the detail expression to call that into DOPs which will be the average vel of all the points, instead of just a single point.

Edited by Loudsubs
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...