Tutorial: Roboperator from a Studio IK Config
A roboperator is the Blueprint actor that lets you control a virtual robot hand with the pose tracked from your real hand: it reads the OpenXR hand pose, retargets it onto the robot with inverse kinematics, and has the bot follow the result in SuperDex Physics. This tutorial takes an IK configuration authored in SuperDex Studio's IK Editor through import to a working roboperator, following the shipped DG-5F (long, seed) right hand:
| Step | Asset |
|---|---|
| IK config (source) | assets/bots/hands/dg5f_long_seed/right/dg5f_long_seed_right_retarget_openxr.superdex_ik |
| IK config (imported) | /SuperDexAssets/bots/hands/dg5f_long_seed/right/roboperator/SDBIK_dg5f_long_seed_right |
| Roboperator | /SuperDexAssets/bots/hands/dg5f_long_seed/right/BP_Roboperator_ProxyHand_dg5f_long_seed_right_openxr |
1. Author the IK config in Studio
A .superdex_ik file maps an input bot, the tracked hand, onto an output bot, the robot:
inputBotandoutputBot: the two.superdex_botfiles, by relative path. The shipped config maps the OpenXR hand botopenxr_hand_lowpoly_right.superdex_botontodg5f_long_seed_right.superdex_bot.goals: one per output link to steer, each bound to an input link with position and rotation stiffnesses. The shipped config has five, one per fingertip, fromxr_05_thumb_tipthroughxr_25_little_tip.jointCouplings: soft ratios between output joints, such as the DG-5F's distal joints. These help to resolve kinematic redundancy from the robot finger's three co-planar revolute joints.outputBaseFrameFromInputBaseFrameandinputBotScale: where the hand sits relative to the robot base, and how much larger the robot is than the hand.createParams: the solver's iteration limits, tolerances, and time budget.
Studio's IK Editor can be used to author the IK configuration with both bots in the viewport and a live preview of the solve. Save the result next to the output bot.
The Studio IK preview overlays the OpenXR input hand with the DG-5F output hand. The IK Goals panel shows the five fingertip bindings and soft joint couplings.
2. Import the bots, then the IK config
Import the SuperDex Bot and IK configurations into your Unreal Engine project by dragging the
.superdex_bot and .superdex_ik files into the Content Browser. Note that import order matters:
the IK config finds its bots among the bots already imported.
- Import the output and input
.superdex_botfiles (see Importers). Each becomes a SuperDex Bot (SDB_<name>). - Import the
.superdex_ikfile. It becomes a SuperDex Bot IK Config whoseOutputBotandInputBotpoint to the bots imported from those exact source files. - Open the asset. If a bot was missing, or more than one imported bot came from the same file,
that field is empty and the log says so: pick the bot in Details. The original references
stay in
OutputBotReferenceandInputBotReference.
Reimport reads the file again and keeps bots you picked by hand, as long as the file still names the same source bots.
3. Build the roboperator Blueprint
Start from a shipped roboperator rather than from scratch: duplicate
BP_Roboperator_ProxyHand_dg5f_long_seed_right_openxr. Like every roboperator, it is a child of
BP_Roboperator_Base (a TeleopRoboperatorActor), and it implements the
GetTrackedPoseableComponent function that the base class requires. Its components are:
| Component class | Role |
|---|---|
SuperDexPlayerPawnPoseSource | Reads the tracked hand pose from the player pawn. |
VrRootToActorRootRetargeter | Makes that pose relative to this actor instead of the pawn's VR root. |
SuperDexBotIKRetargeter (OpenXRHandPoseBotIKRetargeter) | Solves the IK config: turns the hand pose into joint positions of the output bot. |
SuperDexBotComponent (SuperDexBot) | The simulated robot hand. Its BotControllerClass, BP_Controller_ArticulatedPose_dg5f_long_seed_right, is a Controller_MochiArticulatedPose that tracks the solved joint positions. |
In your copy, change three assets:
SuperDexBot: setBotto your output bot.OpenXRHandPoseBotIKRetargeter: setConfigto your IK config. Validate Configuration reports what is wrong with it, if anything.BotControllerClass: duplicate the shipped controller Blueprint and tune its tracking gains for your bot, or keep it if the bots are alike.
The retargeter outputs a SuperDexPose on the output bot: one value per joint DOF, in the bot
prefab's DOF order and native units (radians and meters), so a spherical joint contributes three
values. Its root placement follows the input through the IK config's
OutputBaseFrameFromInputBaseFrame; this is the authored alignment, not a calibration inferred
from wherever the components happen to be placed at startup. An attached input poseable is
placed from that same alignment. Keep the shipped attachment layout when substituting bots.
Get Cached Joint Configuration exposes the solved joint positions and whether they are currently valid. For mapping errors, use Validate Configuration, the on-screen/log message, and the retargeter's Debug Draw IK Coordinate Frames or Debug Draw Input Pose Skeleton.
Select OpenXRHandPoseBotIKRetargeter in the Components tree and assign the
imported IK configuration in Details → SuperDex Robotics → Bot IK Retargeter → Config.
Spawning at the tracked hand
On the roboperator, bSpawnBotsAtTrackedHand creates the bot where the tracked hand is first
seen instead of at the actor, and bScaleBotsToTrackedHand scales it to the hand.
SpawnSettleSeconds, SpawnScaleTolerance, and SpawnMaxWaitSeconds control how long it waits
for the hand-size estimate to settle.
4. Use it in a level
Add the Blueprint to RightPoseableActors (or LeftPoseableActors) on the level's
SuperDexPlayerStart, as in
Tutorial: Physics Scene in the Editor, and play in VR
Preview. A left hand needs its own left bots and IK config.
5. Extend to an arm-and-hand combo
A proxy-hand Blueprint follows a hand pose directly. To move an arm with a hand on its end,
start from a shipped virtual combo roboperator, such as
/SuperDexAssets/bots/arm_hand_combos/fr3_v2_dg5f_long_seed/right/BP_Roboperator_Virtual_fr3_v2_dg5f_long_seed_right.
Its hand mapping is still the same Studio-authored IK asset, but an Arm EE Goal Publisher
turns the clutched hand-root pose into an arm end-effector target. Paired TeleopNodes send that
pose and the solved hand joints to Controller_ArmOsc_HandJsc, then return robot state for
display.
When changing the combo, update the bot/controller assets, EE publisher articulation and end-effector bone, and matching arm/hand joint counts on both nodes. Keep the hand mounted at the correct bone and let the authored IK alignment place its input source; do not recreate that offset with an extra component transform. See Arm-and-Hand Teleoperation for the command split, feedback display, and the example controller's gravity limitation.
See Also
- Physics in Unreal — importers and the physics components the bot touches.
- Bots — the
.superdex_botformat.