Jump to content

Rig Point Rotation by Curve


dubCUT

Recommended Posts

hello
i try to manipulate every point rotation by the curve using @ptnum.
so every point could rotate different, based on the curve.
why isn't it working? 
only 0 and 1 on the curve have an effect. 
and it results in the same rotation on all points.
is there any obvious mistake?

transfid.JPG

 

EDIT: 

SOLUTION:

float value = i@ptnum * (1.0 / i@numpt);
rotate(4@localtransform, (chf("Value")*0.1)*chramp("Remap",value), chv("Axis"));

the fit was not needed and it was necessary to introduce a float (1.0) into the division for it to work.

 

Edited by dubCUT
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...