Renders MuJoCo flex (deformable) bodies. Currently renders as a point cloud since triangle face data is not yet available in the JS bindings.Documentation Index
Fetch the complete documentation index at: https://dadd.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Usage
Props
FlexRenderer takes no props.
How It Works
- Creates a
BufferGeometryper flex body - Updates vertex positions from
data.flexvert_xposevery frame - Renders as a
Pointsmaterial (point cloud)
Limitations
Notes
- If the model has no flex bodies, this component renders nothing
- Point size and color use sensible defaults