{
 "id": "mujoco-articulated-dynamics",
 "title": "MuJoCo articulated-body dynamics with convex contacts",
 "aliases": [
  "MuJoCo"
 ],
 "domain": "simulation",
 "subdomain": "rigid body",
 "stage": "simulation",
 "realtime": "realtime",
 "platforms": [
  "cpu",
  "python"
 ],
 "year_introduced": 2012,
 "inputs": [
  "skeleton"
 ],
 "outputs": [
  "animation",
  "skeleton"
 ],
 "style": "photoreal",
 "dynamic": "dynamic",
 "summary": "Physics engine for robotics and biomechanics that simulates articulated bodies in generalised coordinates with a convex, smooth contact model suited to optimisation.",
 "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_use": "Choose it for robot control, reinforcement learning and biomechanical or character-control research where determinism, speed and derivatives matter. Prefer `sequential-impulses` or `soft-step-solver` for visually plausible game physics with many bodies, and `fabrik-ik` for kinematic pose solving without dynamics.",
 "cost": {
  "class": "cheap",
  "notes": "Hundreds of thousands of steps per second on CPU for small models."
 },
 "failure_modes": [
  "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"
 ],
 "sources": [
  {
   "role": "primary",
   "key": "doi:10.1109/iros.2012.6386109",
   "type": "paper",
   "title": "MuJoCo: A physics engine for model-based control",
   "authors": [
    "Emanuel Todorov",
    "Tom Erez",
    "Yuval Tassa"
   ],
   "year": 2012,
   "venue": "2012 IEEE/RSJ International Conference on Intelligent Robots and Systems",
   "url": "https://doi.org/10.1109/iros.2012.6386109",
   "ids": {
    "doi": "10.1109/iros.2012.6386109"
   },
   "license": null,
   "extra": {
    "csl_type": "proceedings-article"
   },
   "provenance": {
    "title": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1109/iros.2012.6386109",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1109/iros.2012.6386109",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1109/iros.2012.6386109",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1109/iros.2012.6386109",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1109/iros.2012.6386109",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": 1,
   "__bib": "todorov2012mujoco"
  },
  {
   "role": "primary",
   "key": "doi:10.1109/icra.2014.6907751",
   "type": "paper",
   "title": "Convex and analytically-invertible dynamics with contacts and constraints: Theory and implementation in MuJoCo",
   "authors": [
    "Emanuel Todorov"
   ],
   "year": 2014,
   "venue": "2014 IEEE International Conference on Robotics and Automation (ICRA)",
   "url": "https://doi.org/10.1109/icra.2014.6907751",
   "ids": {
    "doi": "10.1109/icra.2014.6907751"
   },
   "license": null,
   "extra": {
    "csl_type": "proceedings-article"
   },
   "provenance": {
    "title": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1109/icra.2014.6907751",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1109/icra.2014.6907751",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1109/icra.2014.6907751",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1109/icra.2014.6907751",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "crossref",
     "endpoint": "https://api.crossref.org/works/10.1109/icra.2014.6907751",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": 1,
   "__bib": "todorov2014convex"
  },
  {
   "role": "implementation",
   "key": "gh:google-deepmind/mujoco",
   "type": "code",
   "title": "google-deepmind/mujoco",
   "description": "Multi-Joint dynamics with Contact. A general purpose physics simulator.",
   "authors": [
    "google-deepmind"
   ],
   "year": 2021,
   "venue": "GitHub",
   "url": "https://github.com/google-deepmind/mujoco",
   "ids": {
    "repo": "google-deepmind/mujoco"
   },
   "license": "Apache-2.0",
   "extra": {
    "stars": 18579,
    "stars_checked": "2026-11-29",
    "archived": false,
    "fork": false,
    "pushed_at": "2026-11-28T14:36:33Z",
    "language": "C++",
    "homepage": "https://mujoco.org",
    "license_name": "Apache License 2.0"
   },
   "provenance": {
    "title": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/google-deepmind/mujoco",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "authors": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/google-deepmind/mujoco",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "year": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/google-deepmind/mujoco",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "venue": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/google-deepmind/mujoco",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "url": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/google-deepmind/mujoco",
     "checked_at": "2026-11-29T15:51:27.588Z"
    },
    "license": {
     "authority": "github",
     "endpoint": "https://api.github.com/repos/google-deepmind/mujoco",
     "checked_at": "2026-11-29T15:51:27.588Z"
    }
   },
   "status": "verified",
   "checked_at": "2026-11-29T15:51:27.588Z",
   "title_sim": null,
   "__bib": "googledeepmind2021google"
  }
 ],
 "presets": [],
 "related": [
  "sequential-impulses",
  "soft-step-solver",
  "fabrik-ik",
  "motion-matching"
 ],
 "extends": [],
 "supersedes": [],
 "combines_with": [],
 "provenance": {
  "prose": "original text written for this index (research draft, editorially reviewed)",
  "sources_verified_at": "2026-11-29T15:51:27.588Z",
  "draft": "data/drafts/simulation/mujoco-articulated-dynamics.json"
 },
 "solves": [
  "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"
 ],
 "authority": "Todorov et al., 2012",
 "url": "https://texelatlas.vercel.app/t/mujoco-articulated-dynamics/",
 "execution_fidelity": "none",
 "fidelity_label": "No Live Specimen",
 "benchmark_eligible": false
}