Jump to content

work between frames Houdini


Recommended Posts

Hi there!! 

I want to work between frames, that means I want to do some calculations in t=1/frame 1 that will affect values of t=2/ frame 2.
More presicely I am importing csv files that show happiness numbers per 50 years. For t = 1, happiness = x. What I want is to say that when t = 2 and happiness = y, substract from happiness 10% of its value, i.e. happiness = y - y*y%. In the end I want to apply this policy to all the coming frames; 

if (factor < 5%) 
{
@hapiness -= hapiness*10%;
}

How can I do that?

Στιγμιότυπο 2018-06-17, 12.37.17 πμ.png

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