PDA

View Full Version : multiple targets on slider


Harrad
01-18-2005, 01:22 AM
hi,

I've having trouble with setting up custom atributes... I've got sliders set up so they are taking the information from one object... [morpher] and having the controls on another object [helper], but i wanted to have a slider, that has -100 to +100, and have the -100 affects one morph and +100 affects another morph...so i don't have to have 2 sliders for the same area...

ie.
mouth slider -100<>+100 [controls] morph sad 100 and morph happy 100
mouth slider =-100 ms=100 mh=0
mouth slider =+100 ms=0 mh=100

cheers...

Matt

Wahooney
01-18-2005, 07:31 AM
Your best bet is using the Reaction Manager (Reactor pre-max 7) for this one, more control for less work.

You could also use Parameter Wires with a cunning expression, ie:

Morph Target 1 Expression:

if (value > 0.0) then value
else 0.0


Morph Target 2 Expression:

if (value < 0.0) then -value
else 0.0

Harrad
01-18-2005, 03:41 PM
Thanks! Thats exactly what i needed... works great...

Used the wire paramiter one, as it doesn't have the upper and lower limit of reactor.

Cheers...

Mat

CGTalk Moderation
01-20-2006, 11:00 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.