Skip to content
Docs
Open Promoeyes

cloth

scenesset 3× in templates and rigs

A simulated sheet that falls, drapes over the real geometry of scene nodes and a floor, and can be pulled off by one edge. The simulation is baked once on a fixed step, so every frame is exact under seek.

cloth(bake_fps=1 collide=s30-laptop s30-hero collide-voxel=1)

Attributes

bake_fpsnumber3×
collidetextNode ids the sheet collides with, by their real triangles; static nodes only (an animated one is read at its base pose).3×
collide-voxelnumber3×
colorcolour #rrggbb3×
dampnumber3×
durationnumberSeconds to bake (default the scene's duration).3×
float-untilnumberSeconds the sheet hangs before gravity takes it (default 1.2).3×
floornumberHeight of the collision floor, mm (default 0).3×
gravitynumber3×
hovernumberThe start height, mm (default 420).3×
pulltext`t0 t1 edge dx dy dz`: from t0 to t1 seconds one edge row (+x, -x, +z or -z) is gripped and moved by `dx dy dz` mm, dragging the sheet.3×
resolution"x y"Particles per side, `nx nz`, 8 to 128 each (default 64 48).3×
roughnessnumber3×
sagnumber3×
seednumber3×
settlenumberSeconds of simulation baked before scene time 0, so the shot can open on a sheet already at rest (default 0).3×
sheennumber3×
sheen_colorcolour #rrggbb3×
sheen_roughnessnumber3×
size"x y"The sheet, `w d` in mm (default 900 700).3×
skinnumber3×
stiffnumber3×
windnumber3×

Where it goes

Written under