Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 07-03-2004, 10:44 PM   #1
ayelar
Registered User
 
ayelar's Avatar
 
Join Date: Jul 2003
Posts: 107
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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;
ayelar is offline   Reply With Quote
Old 08-03-2004, 01:14 PM   #2
Alan
Moderator
 
Alan's Avatar
 
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
Thanks: 0
Thanked 5 Times in 5 Posts
Default

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

Alan
__________________
Technical Director - Framestore

Currently working on: Your Highness

IMDB
Alan is offline   Reply With Quote
Old 08-03-2004, 01:24 PM   #3
ayelar
Registered User
 
ayelar's Avatar
 
Join Date: Jul 2003
Posts: 107
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

Thank you!
ayelar is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.