Previous topicNext topic

How to stop a parameter at a specified value?

Questions, comments, feedback, etc.
Post Reply
smhopton
Posts: 21
Joined: Fri Mar 17, 2017 9:08 pm

How to stop a parameter at a specified value?

Post by smhopton »

I know I am just missing an easy way to do this and I tried finding it in the forums. What I need to know is how to simply stop and hold a value at a specified point. For example I am trying to increase the Z on the translate module and have it stop once it gets to 2.5. How do I achieve this and is there a post that gives some expression examples and how they are used or sample projects?


Thanks for the help! :D
hazardman
Posts: 74
Joined: Sat Nov 08, 2014 1:33 am

Re: How to stop a parameter at a specified value?

Post by hazardman »

using the clamp modifier would be the easiest way...type in 2.5 and anything that's above that value will get clamped at 2.5...

an expression modifier would work as well if you type the following if(x>2.5,2.5,x) ... this means that any value that's greater than 2.5 will be set at 2.5...all other values below 2.5 will pass through, ie sets x = x....i suppose this would also work if(x<=2.5,x,2.5) ;)
smhopton
Posts: 21
Joined: Fri Mar 17, 2017 9:08 pm

Re: How to stop a parameter at a specified value?

Post by smhopton »

Thanks so much Hazard!!!! That is what I was trying to do with the expression! :mrgreen:
Post Reply