PDA

View Full Version : 2 Little questions about armatures


timnhe
04-11-2006, 11:38 AM
Hi, iīm make a rig for a character, using to many armatures. The armatures are amazing!!, but i dnīt know if is possible to use a doble channel control (like pitch and heading when you press de r key in the center of the edit sphere) with a single button.

To modify a bone or other object with the controller drag, you can assign, what channel do you want to use with any of the muse keys, but, exist any channel that make reference to the 'r' or 'm' manipulator (2 channel controler)ŋ? :shrug:


My second question is if is possible create a expression controled by an armature, to control (by double click for example) the rotation or pos of a channel??

In my case, i wont to reset the rotation of an object (p:0, h:0, b:0) when i do a doubleClick on a control. How I can do??, its possible??

Thanks

DMack
04-11-2006, 12:27 PM
First question - in the armatures make sure you have the third column set to R (you'll need to make the second column a rotation channel. With the armatures you can set any mouse button to any channel using the second column.....Am I making sense? Is this what you mean?

maks
04-11-2006, 01:34 PM
Second question: yes, you can use the "Compute Exression" click type action. For what you want to do, you could try it with the SetKeyValue function (expression), or with the CreateChannelKey function.

timnhe
04-12-2006, 08:47 AM
DMack -> Yes !! this is the solution, In 5 months using messiah, I canīt see this great feature, Thanks, is very useful for me

Maks -> Thanks, this is the command that I need ;)

Salu2

timnhe
04-17-2006, 04:45 PM
Hi Maks, thank you for your answer, but I donīt know how to use this function :sad:

I have a bone called Spine3 to rotate mi column. I create a handle to control it, and create an expression named reset_sp3. The code is:

reset_sp3:

SetKeyValue(Jerty_Spine3, 0, pitch, 0) <- what means the third argument??

when make a double click in this handle, execute the expression, but but it does not pass anything ....

whatīs the matter?

Thanks again :thumbsup:

maks
04-18-2006, 09:06 AM
Hmm, just tried it, and the expression works, but the problem is that the scene doesn't get refreshed. A soon as you scrub the time slider it should do it.
You could build a script which also does a scene refresh and tie that to the armature. If you build an action script you could even have a menu that lets you select which item and which channel(s) you want to reset.
As for the last argument (I assume that's the one you meant), it is the channel value.

CGTalk Moderation
04-18-2006, 09:06 AM
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.