-
expression/parenting problem… not the usual kind?
at least i don’t think it’s the usual kind.
usually in the past with expressions and parented layers i can pickwhip to either anchor points or other object to get around the problem, but i’m feeling a bit tired and it must be affecting my brain.
i have a foot graphic parented to a circular layer, which rotates. the foot has an expression so it stays level.
now, when the foot hits the floor it should stay ON the floor. i’ve got my rotating layer with it’s mid point in line with the floor (ie, half above, half below).
i wanted to put an expression on the foot that says “if you go below the y value of the floor, then clamp your y value to have a maximum of the floor’s y value, else you can do what you like.” basically i want the foot to follow a semi-circular path, arc-ing up and down, then staying on the floor, then arc-ing up and down.problem is, because it’s parented, the y value never changes – there’s no fluctuating value so i can’t have it stay on the floor.
any suggestions?
thanks,
scott.