Trying to rotate tires in an expression. Code not being accepted. HELP

Trying to rotate tires in an expression. Code not being accepted. HELP

kazinsks
Participant Participant
198 Views
0 Replies
Message 1 of 1

Trying to rotate tires in an expression. Code not being accepted. HELP

kazinsks
Participant
Participant

please help. 

 

I don't write code and I: am learning on University YouTube. My code wont be accepted and I cannot figure out why.

 

kazinsks_0-1671505103764.png

 

(my expression)

 

kazinsks_1-1671505143962.png

(my names attributes)

 

 

Maya syntx errror: 

 

expression -s "Wheel_front_RT.rotateX=(ctrl_main.translateZ/(3.14)×100);" -o Wheel_front_RT -ae 1 -uc all ;
// Error:
// Error: Line 0.56: Syntax error

 

kazinsks_2-1671505233775.png

 

I tried 10 different ways using parenthesis and brackets, upper case and lower case... everything matched but the code wont work. 

 

 

Suggestions?

 

Thanks

 

0 Likes
199 Views
0 Replies
Replies (0)