Pages

Monday 21 February 2011

Epic monday!

For a monday today was epic, really good feedback from the tutors about the film so far and what i can do to make it better
James also showed me how to get the fk/ik controls to show/hide according to the ikBlend setting so i ended up learning about if statements and the expression editor. All in all a good day.

if (rightArmManip.ikFkBlend > 0.5)
{
    master.ikManip = 1;
    master.fkManip = 0;
} else {
    master.ikManip = 0;
    master.fkManip = 1;
}

^^ that is the code making the pictures above work, basically saying that if ik mode is on show the ik controls and if its turned off the fk controls show.

the only flaw in it is that when ikBlend is set to 0 the handle disappears (as was the desired effect) so getting it to reappear is tricky.... so im gonna try assign this to the master controller so i can always access it (or just stick with the previous setup) either ways i learnt lots and have more i wanna try out (when i have time)

No comments:

Post a Comment