Math and expression Question

   2163   3   2
User Avatar
Member
217 posts
Joined: Sept. 2009
Offline
Hi there,

I try to rotate a null based on the rotation of two other nulls. But I need an bigger bias for one of those nulls. Lets say NullB should have more impact on its rotation.

How should this expression look like to make that work?

(ch(“../nullA/ry”)+ch(“../nullB/ry”))/2

Thanks
User Avatar
Member
112 posts
Joined: Feb. 2010
Offline
(ch(“../nullA/ry”)+ch(“../nullB/ry”)*3)/2
Multiply ry channel of nullB by some number or create a parameter and multiply ry channel of nullB by it.
User Avatar
Member
150 posts
Joined: May 2011
Offline
I would do a linear interpolation of the two rotations with an overall weight of 1.

Create a bias parm “b” which ranges from 0-1.

ch(“../nullA/ry”)*b+ch(“../nullB/ry”)*(1-b)

This way you can linearly blend between the two rotations.

-dennis
Technical Reel 2015 [vimeo.com]
User Avatar
Member
217 posts
Joined: Sept. 2009
Offline
thanks guys!!!!
  • Quick Links