3D node

Rigid Bodies

Drops every separate piece of the input mesh as a rigid body (box, sphere or convex-hull collider) that falls, collides and stacks on a ground plane and optional walls. Mass, friction, bounce, damping, gravity, spin and a timed kick. The same patch plays back identically every time.

Download the patchRead in the manual

The Rigid Bodies node in Infinite, showing its inputs, controls and outputs.

What it does

Rigid Bodies is a 3D node: it builds, changes or lights geometry that Render 3D turns into a picture. It takes 3D shape in and gives 3D shape out.

Try it

Scatter a field of cubes and press Reset to drop them again.

CubeRigid BodiesRender 3D

Inputs and outputs

Inputs

  • 3D shape geo

Outputs

  • 3D shape out

Controls

Every control with a range can be driven by a modulator, a note, an audio level or a sketch.

ControlRange or optionsDefault
colliderBox, Sphere, Convex hull0
mass0.05 to 201
iterations1 to 5012
friction0 to 10.5
bounce0 to 10.200000003
linear damping0 to 20.0199999996
angular damping0 to 20.0500000007
gravity x-30 to 300
gravity y-30 to 30-9.80000019
gravity z-30 to 300
groundon or offon
ground height-10 to 10-1
wallson or offoff
velocity x-20 to 200
velocity y-20 to 200
velocity z-20 to 200
spin x-20 to 200
spin y-20 to 200
spin z-20 to 200
kick time0 to 200
kick x-20 to 200
kick y-20 to 200
kick z-20 to 200

Example patch

This patch wires Rigid Bodies to what it needs and shows the result. Download it, then use File, Open in Infinite, or read it here: it is plain text.

infinite-patch 1
rev 2
# Rigid Bodies: a starting patch for the Rigid Bodies node
node 1 3D Rigid Bodies
  id node
  pos 520 300
end
node 2 3D Cube
  id in0
  pos 0 300
end
node 3 3D Render 3D
  id view
  pos 1080 300
end
node 4 Utility Output
  id out
  pos 1640 300
end
geo node 0 in0
geo view 0 node
cable out 0 view

More 3d nodes