Jump to content

How to store previous value?


Recommended Posts

Hello, how to store previous value? Im creating schooling fish system and I need store and add velocity for each point to control ripple deformer for fish swimming. So I need add value every frame so value still increasing and then Ill connect it to ripple offset. Ripple offset needs increasing value because if I add only velocity which is increase and decrease value, ripple offset go back and fish has bat movement. I have attribute $ACCEL an I trying to add new float wave and expresion $ACCEL+$WAVE so add itself. But id does not work. Or any CHOPSs idea? Thanks a lot.

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