Introduction to Maya - Rendering in Arnold
This course will look at the fundamentals of rendering in Arnold. We'll go through the different light types available, cameras, shaders, Arnold's render settings and finally how to split an image into render passes (AOV's), before we then reassemble it i
# 1 07-03-2004 , 10:44 PM
ayelar's Avatar
Registered User
Join Date: Jul 2003
Posts: 107

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;

# 2 08-03-2004 , 01:14 PM
Alan's Avatar
Moderator
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
you need "backticks" instead of single quotes. a backtick looks like ` instead of '

Alan


Technical Director - Framestore

Currently working on: Your Highness

IMDB
# 3 08-03-2004 , 01:24 PM
ayelar's Avatar
Registered User
Join Date: Jul 2003
Posts: 107
oh sweet. I hoped it was something simple like that. :-D

Thank you!

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads