PDA

View Full Version : Xpresso Condition help


Stray
06-13-2006, 12:47 PM
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?
-Danny

Srek
06-13-2006, 12:53 PM
Hi,
you can either clamp it hard with the clamp node or use range mapper to remap the result to 0-90°
Cheers
Björn

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