View Full Version : how to do an expression convertin 180 to -180

02 February 2010, 05:02 PM
hi there..

i have this scene where a null object rotates the y axis..
the null is a parent to a picture.

no i want the picture to rotate the y axis too but not
excactly as the null ..

the null rotates y axis value let say 180 degrees.
now how to i put that value into the "picture" objects y rotation value..
but with a "minus" in front ..

Null object rotate y =180
child object rotate y = -180

u get me?

02 February 2010, 05:09 PM

i put in "*(-1)" ;)
so the childs expression looks like:


02 February 2010, 09:24 AM
Or shorter still, just add a minus in front of the value ;)

looks like this:

02 February 2010, 10:10 AM
ahaaa thanx, never thought of that ;)

CGTalk Moderation
02 February 2010, 10:10 AM
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.