Jump to content

Limit Parameters


Recommended Posts

Hi Everybody,

Having a problem.

How can i limit a parameter into perticular range. Suppose I have a box, and i want to limit the Y pos in the range -10 to 10. I am not doing any procedral animation. I want to manually move the box up and down, but it should remain in the range. Basically what I want is simillar to Maya Limits.

Is there a GUI for this, or have to use clamp function or clamp CHOP.

And keep in mind, I WANT TO MOVE THE BOX IN VIEWPORT MANUALLY AND KEEP IT INSIDE THE RANGE AT THE SAME TIME.

Thanking in advance.

-------iamjaideep80

Link to comment
Share on other sites

Hi Everybody........

Thanks for your Reply..

I found something. I don't know , if you knew this before.

For limitting parameters, on an OTL, you can give Lower and Upper Range in parameter properties window of OTL.

This is used for limitting sliders in OTL. But this is just for reference. This is not true rescricting. But there are two LOCKS near the range boxes.

I don't know why, but I hadn't locked them. By Locking them, you can rescrict them to a range, even in the view port. This is new to me.

But still, complete problem is not solved. You can do this with OTL, but not with normal object.

If u know, tell me.

Thanking in advance.

------iamjaideep80

Link to comment
Share on other sites

  • 10 years later...

hey,

old thread, but I'm looking for a way to do that too (limiting the viewport handle (rotate) to a range)

I'm using clamp at the moment, on a bone, and I rotate a control null, that null sends it's rx to the bone. And I would need the null rx to not pass the range.

I'd like to be able to see the handle stop, visually.

Is it possible?

 

Link to comment
Share on other sites

I think that might suit my needs :) (got to try it)

I would never had thought this could work, as I'm surprised that using an expression on ry would still give my the handle for rotation on Y in the viewport !
I thought that if you use an expression then you loose the hand on that parameter, right ? Is it different for the transforms?

anyway,

thanks mate.

 

*edit*

it works, thanks again!

and I think I was just assuming that "loosing the hand on parameter" thing... for some reasons..

Edited by 6ril
Link to comment
Share on other sites

@6ril, you still can edit referencing parameter using ladder or handles when there is no keyframe on it (dark green background). It will act like a teleport to the referenced one, but will use referencing parameter logic and handles. Besides control over handles, that may be useful, when you want to control parameters with several types of parameter templates, like use logarithmic float scale, some float interval and integer ticks at the same time.

GIF.gif

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...