blackchicken Posted August 3, 2012 Share Posted August 3, 2012 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. Quote Link to comment Share on other sites More sharing options...
eetu Posted August 3, 2012 Share Posted August 3, 2012 Sounds like a job for the Solver SOP? Quote Link to comment Share on other sites More sharing options...
anim Posted August 3, 2012 Share Posted August 3, 2012 if you are doing your sim in POPs then this may be the easiest way POP_accumulate_dist.hip 1 Quote Link to comment Share on other sites More sharing options...
anim Posted August 3, 2012 Share Posted August 3, 2012 or if you have constant pointcount you can do it in chops like this or like eetu said Solver SOP (Sop Solver DOP), but that would be my third option in this case CHOP_accumulate_dist.hip 1 Quote Link to comment Share on other sites More sharing options...
blackchicken Posted August 3, 2012 Author Share Posted August 3, 2012 Guys you are great thanks a lot Ill look at it. Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.