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 Display Modes
  06 June 2003
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.

  06 June 2003
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
  06 June 2003
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.
  06 June 2003
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.

  01 January 2006
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 05:20 PM.

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