Skip to content

Constructing rigid and articulated bodies ​

A Joint-Body Pair combines one body with its joint to its parent. Rigid Body Solver processes top-level pair trees; each child pair must directly parent to another pair. A general Empty grouping node between joints breaks that chain.

text
Free Joint-Body Pair (root)
├── Triangle Mesh Shape
├── Body Info
└── Revolute Joint-Body Pair
    ├── Triangle Mesh Shape
    ├── Simple Servo -> Servo Model preset
    └── Joint Sensor

The joint mount transform is fixed in the parent-body frame. Initial joint state describes relative motion from that mount; it is not another arbitrary body installation transform. Use a Fixed pair when a physical frame/assembly is fixed, rather than a lightly constrained free body that may drift numerically.

Set body mass, COM and the symmetric COM inertia tensor in the body frame. An imported CAD tensor must have the correct units/frame/sign convention and physically realizable principal moments. A negative principal minor is invalid; do not blindly erase cross terms to make a scene initialize. URDF importer rotates the supplied inertial frame appropriately.

Configure axes, initial positions/velocities, position/velocity/force limits, damping/friction and springs as needed. Limits are numerical constraints: expect small tolerances, not exact pose projection. A planar experiment can lock Z, roll and pitch while leaving X/Y/yaw free, but that is a model assumption, not automatic buoyancy.

For static scenery, a Box, Cylinder or Triangle Mesh with Collider enabled can be placed at scene root or below static Empty objects. Rigid Body Solver collects this geometry without a Joint-Body Pair; see static collider setup. Moving body-owned colliders remain direct children of their Joint-Body Pair.

Collision and fluid/visual geometry are independent. Start with physics/drive tests before tuning hydrodynamic parameters. See joint Reference.