Use C++ with Control Rig workaround

Hello Folks,

I want to use C++ with Control Rig. Especially I want to write some functions in C++ that I can use in my Control Rig Forwards Solve Graph. Unfortionatly I havent found a workaround.

I tried the following:

  1. Tools → new C++ Class → Alls Classes → Choose “RigVMHost/ControlRig” as Parent Class → Put in private, name it and generate.
  2. Extended the Build File
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "ControlRig", "RigVM" });
  1. In Unreal Editor went to the C++ File in Public. Right Click on File and “Create Blueprint class based on …”
  2. Open the Blueprint

Problem is, that it is just a normal Blueprint and not the Editor of a Control Rig, that I expected.

Second Solution:
Write my own function library in C++ as child of “public UBlueprintFunctionLibrary”.
I can acess my functions in Blueprints, but not in the forwards solve graph of any Control Rig. Forwards Solve does not have the “Custom Functions” section.

Any Solutions out there? What is the correct way to use C++ with Control Rig?

3 Likes

BUMP
Im trying to get this working aswell, i know its possible

1 Like

You might want you check this solution

1 Like