-
flipping property values from negative to positive. . .
thisComp.layer("AE solid").position[0]-thisComp.width/2;Can an expression be written that changes negative transform property values to positive? What I mean is, say the position X transform property is 360. I want to write expression that will automatically convert the value to -360, and vise versa.
The reason I need this is because I’m trying to link the coordinates of a layer set in 3D Invigorator classic to the 3D position and rotation values of an AE solid. I used this expression to do it -‘thisComp.layer(“AE solid”).position[0]-thisComp.width/2;’. It worked, but it appears that the coordinate system for 3D Invigorator is opposite the coordinate system in AE. When the AE solid goes left, the Invigorator object goes right. See what I mean?
Any help would be great!
Thanks Again Creative Cow! You are ever faithful!
Darren