View Full Version : Xpresso Condition help

06 June 2006, 11:47 AM
I wanted to put this out to those programming types and see if cant get any help.

I have 2 sliders that i am using to control the rotation of an object. Each slider goes from 0 to 90 degrees.

I have the 2 sliders hooked up to a math node set on "add". The idea is that I can override the rotation of each slider by the other.

Heres the problem:

I want to limit the rotation of the bone to object to 90 degrees. Basically set up something that no matter what the added sum of the first 2 sliders the output doesnt go above 90.

This should be a walk in the park for some but I cannot get it working.

Little help?

06 June 2006, 11:53 AM
you can either clamp it hard with the clamp node or use range mapper to remap the result to 0-90°

CGTalk Moderation
06 June 2006, 11:53 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.