MechForge — Blender Constraints and Drivers That Keep Working in Unity: Hydraulics, Suspensions, Gears and Bone Rigs, Measured Against Blender

Skava in Rigging


Why do my constraints and drivers stop working in Unity?

FBX has no place for them: it carries meshes, bones and their transforms, not the rules that move one part from another. Unity imports the model frozen in the pose it was exported in. On our test excavator the hydraulic cylinders end up 1.7 m from where Blender has them as soon as the boom moves.

Isn't baking the animation enough?

Baking records one motion. Nothing then reacts: the player cannot move the boom and have the cylinders follow, physics cannot push the suspension, and a gear lever cannot drive the doors. MechForge runs the rig itself, every frame.

Which constraints and drivers work?

Copy Location, Copy Rotation, Copy Scale, Copy Transforms, Child Of, Damped Track, Track To, Locked Track, Stretch To, the four Limit constraints and Transformation, on objects and bones, in world, local, pose and local-with-parent space, with influence. Drivers on transforms, influence and custom properties, with Blender's simple expressions. The documentation has the full list.

What about Inverse Kinematics?

Not in 1.0. Analyze names any IK constraint before you export, and you can mute it to export the rest.

How do I control the mechanism in the game?

Move or animate the parts that drive it (the panel lists them), or set the controls: every custom property your drivers read becomes a named value on the MechForgeRig component, which you can animate or set with SetControl from your scripts.

Does it cost frame time?

0.02 to 0.035 ms a frame for a machine of 13 to 21 parts in our measurements, and it allocates no memory per frame.

I exported again from Blender. Do I need to do anything in Unity?

Run Tools > MechForge > Set Up Mechanism again. Until you do, the component stops with an error that says so, instead of moving the wrong parts.

Which Unity versions?

Tested in Unity 6000.0, 6000.4 and 6000.6. Nothing depends on the render pipeline.

Does it need AI, a cloud or an account?

No. Everything runs locally, in Blender and in Unity.

$19.99

Have questions about this product?
Login to message

Details
Published 1 day ago
Blender Version 4.2 - 5.2
Extension Type N/A
License GPL