PDA

View Full Version : Expression: Help please. =)


Rudity
12-18-2002, 01:45 PM
I have a hand control(L_hand_ctrl) and a gimbal control(L_hand_gimbal) which both control the rotation of my hand.
I have an ulna bone(ulna2) which I want to be controled by both rotations.


I have the expression
ulna2.ry = L_hand_ctrl.rx.


Now that works nice for the hand control but I can't figure out how to make the gimbal control also rotate it.


Ive never programmed anything or learned statements so I couldn't really go any further.

I tried (ulna2.ry = L_hand_ctrl.rx && L_hand_gimbal.rx) which didn't work :annoyed:

I hope someone could help.
Ill go read more of about it in maya help again.
Thanks in advance.
Later Rudity.


PS If this isn't clear enough Ill post some SS if need be or explain a little better.:)

alexx
12-18-2002, 02:01 PM
if i got you right all you need is:

ulna2.ry = L_hand_ctrl.rx + L_hand_gimbal.rx;

cheers

alexx

Rudity
12-18-2002, 02:09 PM
LMFAO!!!

I went throught the maya library and was looking for all those commands and thought + would add.
I thought && which was and, would do and.

Programming = slow learning process for rudity * 20

THANKS IT WORKED PERFECT!!


Cheers alexx :beer:

CGTalk Moderation
01-14-2006, 12:00 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.