View Full Version : Linking rotation of teeth to morph target values...

08 August 2002, 09:14 AM
Hello folks, haven't been frequenting the animation threads here much as I don't know much about it, but I hope someone will help me out nevertheless.

I've done a few characters now in 3DS Max 4.2 and I always seem to run into the same problem with setting up the teeth for animation. We don't animate a lot where I am, so we just use character studio for setting up our characters, and morph channels for some basic face changes.
The problem I have is this: if I create a morph target of an open mouth and have the top and bottom teeth as seperate objects with a pivot point at the back of each, how can I link the angle of rotation of the bottom teeth to the value of the morph target? :shrug:
Specifically, I want my teeth to rotate 23 degrees on the X axis by the time my morph value reaches 100 for that target. If I change the rotation controller for the teeth to Euler XYZ and wire the rotation value to the morph value, the teeth just spin wildly as they obviously don't match up with the values of the morph target. I'm no maths whizz and can't figure out what sort of formula I should be using, or even how to use it. Shouldn't the wire parameters dialog have some sort of syntax checker or something? Or is it even possible to change the formulas there?

Anyway, this is all a bit of a pain as otherwise I have to animate the teeth independently every time I use that morph targert, which is something I'm sure can be avoided. The only other solution I see is to attach the teeth to all the morph targets and change them all manually in the first place, but the teeth are quite detailed and heavy mesh-wise, so I REALLY don't want to do that.

I'm sure this has probably been asked before, as I imagine a few people have run into it, if that's the case, and someone else has already answered this, can you point in the direction of where this was done?

Any help on this would be much appreciated, and while I won't go so far as offering you my first born, I would however be prepared to offer up a small animal in sacrifice to any god of your choice.

08 August 2002, 08:55 PM
YOU COULD PROBABLY DO THAT WITH (oops :D ) a reactor controller. I know it works the other way, when driving a morph. look up reactor controllers in the help. You basically assign a reactor controller to the particular rotation track of the teeth & then set up a reaction based on the percentage spinner for the morph...

08 August 2002, 07:11 AM
Hi Chris, thanks for responding.
I actually got it worked out myself last night, I just changed the rotation controller for the teeth to Euler XYZ and wired the rotation value to the morph value and divided that by 230 (for the 23 degrees), like so:

X_Rotation --> _1__open_mouth___Target_Available/230

It seems to work fine, even after I link the head to a biped head.

I'll have a look at those reactor controllers anyway, sounds interesting. Thanks for the tip!

CGTalk Moderation
01 January 2006, 02:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.