View Single Post
# 1 05-04-2013 , 10:28 AM
Registered User
Join Date: Apr 2013
Posts: 2

Syntax error help

Hi Im new to maya and i am righting a script I found online for a tank i am building but I get a syntax error on line 5.35 which i cant get rid of any help would be great thanks. This is the script.

float $RightTrackZ = RightTrack_Control.translateZ;
float $RightCurveLength = curveInfo1.arcLength;

float $RightTrackPos = $RightTrackZ / (2 * 3.14 * $RightCurveLength) * 360;

motionPath1.uValue = $RightTrackPos;