Skip to content
Physical AI
All experiments

Visual geometry versus collision geometry

The difference between the geometry a robot model renders and the simpler geometry the physics engine uses for contact, such as capsules on feet and toes.

Loading simulation…

What it demonstrates

The difference between the geometry a robot model renders and the simpler geometry the physics engine uses for contact, such as capsules on feet and toes.

How it works

The site's procedural lower-body model (12 actuated joints, 2 passive toes) is drawn with visual bodies, with translucent collision capsules, or both. Joint angles come from a hand-written sinusoidal stepping pattern; it is an animation, not a simulation or a trained policy.

Adjustable parameters

  • Display: visual, collision or both
  • Stepping speed command

Known limitations

  • Dimensions, joint names and capsule sizes are illustrative, not Asimov's model.
  • The motion is scripted and kinematic; feet may slide or float.

Equations

capsule(p0,p1,r)={x:dist⁡(x,p0p1‾)≤r}\text{capsule}(\mathbf p_0, \mathbf p_1, r) = \{\mathbf x : \operatorname{dist}(\mathbf x, \overline{\mathbf p_0\mathbf p_1}) \le r\}

Pseudocode

<!-- MJCF pattern: render a mesh, collide with a capsule -->
<geom type="mesh" mesh="foot_visual" contype="0" conaffinity="0" group="1"/>
<geom type="capsule" fromto="-0.05 0 -0.04  0.10 0 -0.04" size="0.016" group="3"/>

Explained in Chapter 6: Asimov Simulation