chrisribar Posted June 5, 2019 Share Posted June 5, 2019 hey ya'll, i'm trying to animate the restscale of each emitted hair strand based on age but i'm currently stuck because "@restscale" is erroring out on the vellumconstraintproperty inside the dopnet. any ideas would be great! thank you! chris anim_rest_scale_age_v001.hip Quote Link to comment Share on other sites More sharing options...
anim Posted June 5, 2019 Share Posted June 5, 2019 (edited) do restscale = 2; instead of f@restscale = 2; since you want to modify restscale variable containing value of restscale parameter that is passed to the snippet instead of directly create or modify restscale attribute (which wouldn't even be used by vellum and you don't have permission to create, hence it's erroring out) Edited June 5, 2019 by anim Quote Link to comment Share on other sites More sharing options...
chrisribar Posted June 5, 2019 Author Share Posted June 5, 2019 thanks Tomas! Any hints on how to create age based on my emitter so that the curves grow over time? Quote Link to comment Share on other sites More sharing options...
anim Posted June 6, 2019 Share Posted June 6, 2019 5 hours ago, chrisribar said: thanks Tomas! Any hints on how to create age based on my emitter so that the curves grow over time? you can for example age your Geometry or ConstraintGeometry using POP or Geometry Wrangle using f@age += @TimeInc; then in Vellum Constraint Property DOP either use float age = point(1, "age", @ptnum); restscale = 1 + age*.5; if you have @age only on points of the geometry (see example file) or if you have f@age on primitives of ConstraintGeometry you can do directly restscale = 1 + f@age*.5; anim_rest_scale_age_v001_fix.hip 2 1 Quote Link to comment Share on other sites More sharing options...
chrisribar Posted June 6, 2019 Author Share Posted June 6, 2019 you are the best 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.