PDA

View Full Version : Expression help


Scarvin
10-14-2004, 03:48 PM
Hi,

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.

thanks

vrljc
10-14-2004, 03: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.


-jon

Scarvin
10-14-2004, 04:18 PM
Thanks for your quick reply vrljc but what you described is for rotations.

nixx
10-14-2004, 04: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"

nixx

Scarvin
10-14-2004, 04:46 PM
now it works, thanks nixx

CGTalk Moderation
01-19-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.