Oscillating attribute
1658 5 1- papsphilip
- Member
- 385 posts
- Joined: July 2018
- Offline
- lucap1
- Staff
- 31 posts
- Joined: June 2018
- Offline
I don't have Houdini in front of me but I remember doing something similar in RSL ages ago. You use two smooth expressions/functions. You subtract one from the other. You'd need a modulo function to take care of the repitition. So if you wanted a period of 50 and 10: smooth($FF%50,0,20)-smooth($FF%50,30,50)
- BabaJ
- Member
- 2038 posts
- Joined: Sept. 2015
- Offline
You can do stuff like that with chops if you want.
I've added a chop network to drive your ‘maxvalue’ parameter.
You can see your sinewave in the Motion FX window. From there you can shape that sine wave anyway you want to affect the motion you want.
In your case have a hold(stop) for certain amount of frames.
You can use a combination of the Trim, Sequence(Combine), Extend and Shift Nodes to accomplish multiple variations along your Frame Range.
I've added a chop network to drive your ‘maxvalue’ parameter.
You can see your sinewave in the Motion FX window. From there you can shape that sine wave anyway you want to affect the motion you want.
In your case have a hold(stop) for certain amount of frames.
You can use a combination of the Trim, Sequence(Combine), Extend and Shift Nodes to accomplish multiple variations along your Frame Range.
- papsphilip
- Member
- 385 posts
- Joined: July 2018
- Offline
- BabaJ
- Member
- 2038 posts
- Joined: Sept. 2015
- Offline
- papsphilip
- Member
- 385 posts
- Joined: July 2018
- Offline
-
- Quick Links