Syntax for negative value

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Search this Thread Display Modes
Old 06 June 2003   #1
Syntax for negative value


I want to connect the negative value of rotation with other thing.
my expression is like this :

Objectname.rotateZ = makeNurbSphere.startSweep -270

so I want the same thing but with negative value of rotate Z to inverse rotation.

Old 06 June 2003   #2
Create two Cubes and try this expression in the TranslateY of the second cube:

pCube2.translateY = -pCube1.translateY

if you move the first cube in Y, the other Cube moves also in Y, but in the opposit direction
Old 06 June 2003   #3
In Your case, try

pCube1.rotateZ = -makeNurbSphere1.startSweep *

*=-270 if you need

[edit]= the * stuff

Last edited by webster : 06 June 2003 at 11:52 PM.
Old 06 June 2003   #4
Well, it's doesn't work because I don't want to inverse startsweep.

I want to inverse the direction of the Z rotation, only negative value for Z rotation.

Old 01 January 2006   #5
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 01:04 AM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.