Jump to content

Blending between RBD and initial state


cdenny

Recommended Posts

I was playing with the new MOPS nodes and ran into some issues. I don't have much experience getting down and dirty with constraints or combining different solvers but got 85% there.

I was able to create a constraint network using the MOPS-created points so it was essentially motion graphics with collisions. Once the animation was finished I tried use primitive intrinsics to get the position and rotation back to the initial state. Didn't work, it does some weird scaling thing before going to the correct position.

What's the best way to go about this? I'd assume using some sort of blend solver? I looked into the copy solver but this being packed primitives didn't affect it.

I've attached a simply mock up of what I'm trying to do, just need to stop end movement and rotation somehow.

Thanks! It's 2am so I'm giving up.

AttracttoPoints_01b.hiplc

Edited by cdenny
Link to comment
Share on other sites

You can use the MOPs Apply Attributes and MOPs Extract Attributes nodes to get the nodes back to their original states, as long as the i@id attribute is still in place. MOPs Extract Attributes will convert intrinsics into point attributes that can be used by Apply Attributes. I'm attaching an example file; the strength of the return to the initial state is determined by an animated MOPs Shape Falloff, but you could use any falloff for this.

AttracttoPoints_01b_toadstorm.hiplc

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