MuJoCo articulated-body dynamics with convex contacts
Physics engine for robotics and biomechanics that simulates articulated bodies in generalised coordinates with a convex, smooth contact model suited to optimisation.
Also known as MuJoCo
In the family Simulation & animation, rigid body
Where it runs
Built inOfficial add-onPluginNone foundNot researched
| Engine | Support | How |
|---|---|---|
| three.js r187 | None found | |
| Babylon.js 9.38.0 | None found | Official Physics v2 plugin uses Havok (@babylonjs/havok), not MuJoCo. |
| Godot 4.7 | None found | Built-in 3D physics engines are JoltPhysics3D and GodotPhysics3D, not MuJoCo. |
| Unity | Plugin | Install the official MuJoCo Unity plugin from google-deepmind/mujoco (unity/ package) docs Maintained official Unity integration in the MuJoCo repository. |
| Unreal 5.7 | Plugin | Unreal Robotics Lab plugin integrating MuJoCo docs |
| Blender 5.2 | None found | |
| WebGPU W3C | None found | |
| Metal | None found |
How it works
MuJoCo represents a system as a tree of joints in generalised coordinates and computes forward and inverse dynamics with articulated-body algorithms, so there is no joint drift. Contacts are not rigid: the contact problem is posed as a convex optimisation with soft constraints, whose smoothness gives well-defined gradients and makes trajectory optimisation and control feasible. Actuators, tendons, muscles and sensors are first class. The same model drives forward simulation, finite-difference derivatives, and, in newer versions, GPU/JAX batch rollouts.
When to choose it
Reach for it when
- robot arm simulation is unstable or slow
- need fast accurate physics for jointed bodies
- train reinforcement learning on simulated robots
- joints drift apart in a physics engine
Choose it for robot control, reinforcement learning and biomechanical or character-control research where determinism, speed and derivatives matter. Prefer Sequential impulses (rigid bodies) or Soft Step solver / substepping for visually plausible game physics with many bodies, and FABRIK inverse kinematics for kinematic pose solving without dynamics.
Field marks
- Soft contacts mean visible penetration and 'sliding' unless parameters are tuned
- Fidelity of friction cone approximations (pyramidal vs elliptic) trades speed and accuracy
- Not designed for thousands of dynamic rigid bodies or destructible scenes
- Model files are engineering-heavy; visual quality is secondary
Crosses
- A motion-matching database without mocap: Fill a motion-matching database with physically simulated locomotion covering the turns, slopes, pushes and stumbles that mocap sessions miss. The runtime stays a cheap nearest-neighbour search with no physics on the character.
Sources
- primaryEmanuel Todorov, Tom Erez, Yuval Tassa (2012). MuJoCo: A physics engine for model-based control. 2012 IEEE/RSJ International Conference on Intelligent Robots and Systems.Verified via crossref · 2026-11-29doi:10.1109/iros.2012.6386109
- primaryEmanuel Todorov (2014). Convex and analytically-invertible dynamics with contacts and constraints: Theory and implementation in MuJoCo. 2014 IEEE International Conference on Robotics and Automation (ICRA).Verified via crossref · 2026-11-29doi:10.1109/icra.2014.6907751
- implementationgoogle-deepmind (2021). google-deepmind/mujoco. Multi-Joint dynamics with Contact. A general purpose physics simulator.GitHub API · license Apache-2.0 · 2026-11-29