Skip to content

Triangle Mesh Shape ​

Flare Live 3.0 · Scene Object · API type simexp.common.geometry.shapes.triangle_mesh.

Places a Triangle Mesh preset in the scene. mesh supplies geometry; material_override optionally replaces the mesh's default material. With no override, an imported mesh can already render with textures. Shape Color multiplies the material's base color and texture. Leave it white to preserve the imported colors. With no material, it supplies the surface color.

Scale is per shape. Visual, Collider and FluidBoundary are independent roles. New triangle-mesh shapes default to Visual + FluidBoundary. Enable Collider to use it for contact: attach directly to a Joint-Body Pair for body-owned geometry, or place it at scene root/below static Empty groups for standalone static contact. Gen 2 also supports static non-body fluid terrain. See shape roles.

Legacy ordinary fluid coupling still requires the shape to be a direct child of a Joint-Body Pair; standalone static rigid-body contact is separate from that fluid-coupling path.

Properties ​

Values below are defaults for new objects. See common properties for shared fields, case-sensitive API paths and conditional visibility.

API pathConstructor default / enum choicesMeaning / unitsEditable in Simulation
use_as10; 2=Visual, 4=Collider, 8=FluidBoundaryVisual draws the mesh. Collider enables rigid-body contact when the shape is attached to a body or placed as static scenery. FluidBoundary enables fluid boundary handling when the solver supports the placement.No
meshNoneTriangle Mesh preset providing the geometry for rendering and the selected physics roles.No
scale(1.0, 1.0, 1.0)XYZ multipliers along the shape's local axes. Scale affects the geometry used when building the selected collider and fluid boundary.No
color(1.0, 1.0, 1.0)Surface RGB color with components from 0 to 1. With a material it multiplies the base color and color texture. White keeps the material colors.Yes
material_overrideNoneOptional per-shape override. Null uses the mesh preset default material.Yes

Simulation input/output: none.