Jump to content

Wire simulation, switch between keyframe and sim


starlighter

Recommended Posts

Hi all,

i do believe that this is quite trivial question but haven't managed to yet find the answer on it.
I have some wire animation coming in and at certain frame i would like to stop it from being
animation and let the simulation to take over. What would be the way to do this?

Thanks in advance!

Link to comment
Share on other sites

At SOPS level use a timeblend node. Set the Hold Last Frame parameter to the last frame of your animation.  Then simulate your wire your wire at the held frame.  There are many ways to specify when your simulation will start.  The easiest being to set the Start Frame parameter on your DOP net. 

Link to comment
Share on other sites

if both geos have the same pointcount and pointorder you could use a point_wrangle:

1. create point wrangle

2. pipe animated mesh into input1

3. pipe simulated mesh into input2

4. add the following code:

v@P = lerp(v@P, v@opinput1_P, chf("blend"));

5. click that little icon on the right hand side of your code text box that says "Create spare parameters..." to create a slider

 

now you can blend between both versions and keyframe it.

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