View Full Version : Expression help

10 October 2004, 02:48 PM

I have some objects im my scene and I dont want that they move below 0 (Zero) on the Y-Axis while I animate them.

Is it possible to create an expression and apply it to all the objects or is there a better way to do that.


10 October 2004, 02:54 PM
I don;t have Lightwave open in front of me, but I don;t think you need an expression for this. Open the object's properties tab and look around for limit information on XYZ axis. Make sure you make the Y axis min to 0.


10 October 2004, 03:18 PM
Thanks for your quick reply vrljc but what you described is for rotations.

10 October 2004, 03:32 PM
Put this in the Y channel :

Value >= 0 ? Value : 0

In plain english, this means "is the current value at least zero ? If yes, use the current value, if not, use zero instead"


10 October 2004, 03:46 PM
now it works, thanks nixx

CGTalk Moderation
01 January 2006, 02:00 PM
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.