Control Rig Set Control Limits via BP / C++

Hello!

Please do let me know if this is possible, I’ve been struggling a way to apply this.

In control rig, you can limit control movement on certain axis:

[Image Removed]

I can set these quite easily in the CR blueprint, however I would like to set them from outside the CR blueprint, ideally from the standard blueprint editor or from my C++ class.

Is there something I am missing - and if not, is this something we could look to get implemented in the future?

Kind regards,

Elliott

Hey there,

I did this in blueprint just to show it, but the calls could be replicated similarly in C++

[Image Removed]

You need to traverse the hierarchy finding the control or object you want, then you would need to use SetContolSettings.

Dustin

Hi Dustin,

Fantastic! Thank you so much - I’ll give this a test my side but it looks to be exactly what I was needing :slight_smile:

Hi Dustin, to confirm - this has worked for us and can support our workflow - thank you again.

I would say the inputs feel slightly clunky to define, so a request that these are clearer in future versions would be appreciated.

Particularly, this input (which allows us to concretely apply limits):

[Image Removed]

As the inputs are just an array, its slightly vague as to what the array entries contribute towards - I have to cross reference these with the control rig settings:

[Image Removed]

Overall though, this is a minor inconvenience and this being available helps us a great deal!

Great to hear! I agree with the cumbersomeness of it. I think we can make some convenience functions for this in the future. I’ll suggest it to the team.