Vellum hair - changing "Pin to target" goal P pos

   1020   2   0
User Avatar
Member
9 posts
Joined: April 2017
Offline
Hi!

I'm building a vellum setup where inside the solver I'm trying to blend between different states (restlenght, etc).
For most cases, I'm good, but I have a state where I would like to activate a Pin to target constraint, and move the vellum points with a soft constraint that direction.

Usually, this is easily done by copying the target anim onto the solver's input pt stream, but that is already taken for my "default" state.
(It animates the root point's position.)

I tried to create an extra Pin to target constraint outside the solver, and updating the Rest Vector inside the vellum solver. As far as I know, the Rest Vector is float4, which stores quaternions for bend constraint, but also, can store world space positions of the Pin to target.

Have anyone tried to change this Rest vector by a vellumconstraintproperty node? I'm not getting proper results.


TLDR: how to blend inside solver between two rest states for a Pin to target constraint?

Thanks,
Daniel
User Avatar
Member
8556 posts
Joined: July 2007
Offline
kmdani
Usually, this is easily done by copying the target anim onto the solver's input pt stream, but that is already taken for my "default" state.
not usually but by default, I personally usually point it to separate sop branch

change Advanced/Target from First Input to SOP Path and point it to your animated geo you want to use as target
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
9 posts
Joined: April 2017
Offline
AHHHHHHH, man! Thanks, tamte! I was looking for this for almost half on hour, but just couldn't find "Advanced/Target from First Input to SOP Path"

If someone stumbles into this, here is the precise answer: On the sop solver itself, in the Advanced tab, the first option is this, Target: First input/Sop path.

Thanks again tamte!
  • Quick Links