gregjenings Posted May 17, 2023 Share Posted May 17, 2023 I would highly appreciate it if anyone can let me know How can I apply simulation on an animated curve? Can I have a ramp to control the simulation and animation part divide along the curve from root to tip, if yes How can I achieve it? Quote Link to comment Share on other sites More sharing options...
Zunder Posted May 17, 2023 Share Posted May 17, 2023 55 minutes ago, gregjenings said: I would highly appreciate it if anyone can let me know How can I apply simulation on an animated curve? Can I have a ramp to control the simulation and animation part divide along the curve from root to tip, if yes How can I achieve it? I'm not sure what you trying to do to, but maybe this ? You can controll attach to geometry constraint stifness, to control how much you want your sim curve to behave like original anim curve Also you can pin specific points, not all of them aswell Plenty ways to have guide curve to control simulation curve tbh ak_vellum_attach_01.hiplc Quote Link to comment Share on other sites More sharing options...
gregjenings Posted May 17, 2023 Author Share Posted May 17, 2023 Thank you Zunder for your file , unfortunately I am looking something different, I want to conrol the constrain position through ramp so that I can also get smooth transisitioning effect. In Maya we usually use input curve attract with hair and result transitioning is not only easily controlled but also gives a smooth transition as per ramp position. Quote Link to comment Share on other sites More sharing options...
Librarian Posted May 17, 2023 Share Posted May 17, 2023 @gregjenings Just post some reference .PIC Please. Quote Link to comment Share on other sites More sharing options...
gregjenings Posted May 18, 2023 Author Share Posted May 18, 2023 So, I don't know How better I can explain it in Houdini terms, but I guess the attached file might give you some sense of what I am trying to achieve. I have tried to expand group using slider but not only it works in unidirectional manner but It didn't give me much control and smooth transition I would like it to have. The slider works in steps, I would like to replace the slider with a ramp which can work in both directions, and I can easily control the transition from any position throughout the curve. sim_Curves.hip Quote Link to comment Share on other sites More sharing options...
Librarian Posted May 25, 2023 Share Posted May 25, 2023 @gregjenings if you mean this .. if (@ptnum <= chi("pin_group")) i@group_pin = 1; float locate = float(@ptnum) / float(@numpt); float ramp = chramp("stiffness_ramp", locate); float pow = chf("stiffness_power"); f@stiffness = pow(fit01(ramp, 1.0, 18.0), pow); Quote Link to comment Share on other sites More sharing options...
gregjenings Posted May 26, 2023 Author Share Posted May 26, 2023 Thank you Tesan Srdjan you understood correctly what I was trying to achieve unforunately I don't have much expertise in VEX. Could you please explain how it works and provide more details on how to implement it in the network ? If feasible, could you upload example file for my better understanding ? Additionally, I would like to confirm if your curve is already animated, and you perform the simulation on top of it? 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.