control rig operations in C++

My game design has a robot/animal that can repair itself. Say, attach a bone(s) , specify IK, etc. during gameplay. My question is: Are control rig operations available in C++ as API?

Yes/No.
Whole engine is exposed to C++. But there is no API for Control Rig. But at least this part is Runtime part of the engine and not Editor one.

2 Likes

So the answer is no. Weird way to start any answer with yes/no.

API meant to let Applications to talk to each other. Within a Game this question makes a little sense. As you have direct access to classes.
But the OP probably wanted (I can only speculate) some king of a wrapper around Control RIG to talk to it, and there is no “user friendly” implementation like it.

Hi,

Not exactly in this post:
Converting BP to C++ Need help In a Foot Placement Function - Programming & Scripting / C++ - Epic Developer Community Forums (unreal engine.com)
They have a good solution, I would say. Even with C++ code on it.

Now checking Unreal Editor I found:

I believe we need to add n IKComponent or even a
image

or

For future reference you might want to look into this solution

1 Like

Hi Thanks for your solution~ However, I found that I could not choose my parent class from creating control rig either no way to change parent class inside a standard control rig editor. I did not see any window like in your picture that I can choose class from the list. I could sucessfully create a custom Blueprint but not the control rig blueprint version. any help? thanks a lot~