-
Position changes rotation expression
Dear Cow-Forum,
I have a very simple character that needs a certain expression that I just can’t seem to figure out.
The main idea is that I want the Y-position of a certain layer to influence the rotation of another layer.To kind of explain the situation : I have a character that jumps up and down. (So just ‘bounces’ on the y position)
I have a few separate layers which are the hairs of the character. (It’s a round, fluffy type of character)
I have the hair layers parented to the main body, and I would like these to slightly rotate when the character moves up and down. If it would be just 1 shot I could obviously do that manually, but the character bounces around quite a lot so I think that an expression would work the best in this situation.So it would be a kind of expression saying : If Position-value of ‘Layer1’ decreases rotate this layer X degrees. If position-value of Layer1 increases rotate this layer X degrees.
I hope anyone could point me in the right direction here.
Many thanks!WickieMedia.net