Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Maya Basics & Newbie Lounge (https://simplymaya.com/forum/forumdisplay.php?f=31)
-   -   Tail Whip expression (https://simplymaya.com/forum/showthread.php?t=10834)

ayelar 07-03-2004 10:44 PM

Tail Whip expression
 
Hi all,

I'm working out of this book called "Maya Character Creation", and I'm having trouble with a tail whip expression in it.

I always get a syntax error on the first 5 lines when I try to create this, but I think I've got it typed in exactly. What am I doing wrong?

Thanks!

Code:

int $time = 'currentTime -query';
int $delay10 = 'getAttr -time ($time -10) Hips.ry';
int $delay20 = 'getAttr -time ($time -20) Hips.ry';
int $delay30 = 'getAttr -time ($time -30) Hips.ry';
int $delay40 = 'getAttr -time ($time -40) Hips.ry';
TailRoot.rotateZ = 0 + Hips.rotateY;
Tail2.rotateZ = 0 + $delay10;
Tail3.rotateZ = 0 + $delay20;
Tail4.rotateZ = 0 + $delay30;
TailEnd.rotateZ = 0 + $delay40;


Alan 08-03-2004 01:14 PM

you need "backticks" instead of single quotes. a backtick looks like ` instead of '

Alan

ayelar 08-03-2004 01:24 PM

oh sweet. I hoped it was something simple like that. :-D

Thank you!


All times are GMT. The time now is 03:50 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018