Rigid Body Sim

Simulate points, geometry, or shapes as a dynamic, kinematic, or static rigid body.

What it does

Configures how a piece of geometry behaves once physics is turned on: falling and colliding as a solid object (Dynamic), moving along a scripted path while still pushing other things out of the way (Kinematic), or sitting immovable as something everything else bounces off (Static). Points, Geometry, analytic shapes and generic Shapes are all accepted.

This node does not run the simulation. Settings are stamped onto the geometry, which passes straight through. Wire its output into Physics World's entities input; that node owns the solve, each frame, on the GPU.

When to use it

ParameterTypeDefaultWhat it does
inputAny—Geometry to simulate as a rigid body (Points, Geometry, CRC primitives, or Shapes)
body_typeString"Dynamic"Dynamic = affected by forces; Kinematic = scripted motion; Static = immovable collider. One of: Dynamic, Kinematic, Static.
collider_shapeString"Mesh"Collision shape: Mesh (exact), Convex Hull, Box (AABB), Sphere (bounding). CRC inputs auto-detect as analytic SDF colliders. One of: Mesh, Convex Hull, Box, Sphere.
massNumber5Mass in kg (ignored for Static bodies)
frictionNumber0.500Surface friction (0 = frictionless, 1 = maximum)
restitutionNumber0.300Bounciness (0 = no bounce, 1 = perfect bounce)
iterationsNumber10Solver iterations per frame (higher = more accurate)
dampingNumber0.010Velocity damping (0 = none, 1 = full)
strengthNumber1Effect strength / wet-dry (0 = no effect, 1 = full). Editable, wirable, keyframable.

Gotchas

Mass is ignored for Static bodies.

This node only tags the geometry with its physics settings. Nothing moves until the geometry reaches a Physics World node. If an object is not reacting, check that it is wired into Physics World's entities input.

Analytic-shape inputs, for instance a Distance Field sphere, are auto-detected and collided against their exact surface with no approximation, so no Collider Shape needs picking. The dropdown's Mesh / Convex Hull / Box / Sphere choices apply to ordinary mesh geometry.

Worked example

  1. Add a Rigid Body Sim and wire the geometry into its input.

  2. Set Body Type to Dynamic for a falling object, or Static for a floor or wall it should collide against.

  3. Pick a Collider Shape. Box and Sphere are cheap for simple forms; Mesh is exact but pricier.

  4. Adjust Friction and Restitution to taste, then wire the output into a Physics World node's entities input to see it simulate.

See also

Physics World · Physics Joint · Soft Body Sim · Geometry (meshes)