stim::rigid_body_description struct

Initialization parameters for rigid bodies.

Public variables

rigid_body_flags flags
The rigid body's flags.
string_view id
A unique identifier for the soft body.
const object_constants* constants
Constants used to fine-tune the rigid_body's behaviour.
mat4 object_to_world
The initial object-to-world transform of this object.
const mesh_description* mesh
The rigid body's mesh.
const cutter_description* cutter
Initialization parameters for the cutter part of this rigid body.

Variable documentation

rigid_body_flags stim::rigid_body_description::flags

The rigid body's flags.

string_view stim::rigid_body_description::id

A unique identifier for the soft body.

This field is used in logging, error reporting, and the debug UI interface.

const object_constants* stim::rigid_body_description::constants

Constants used to fine-tune the rigid_body's behaviour.

mat4 stim::rigid_body_description::object_to_world

The initial object-to-world transform of this object.

const mesh_description* stim::rigid_body_description::mesh

The rigid body's mesh.

const cutter_description* stim::rigid_body_description::cutter

Initialization parameters for the cutter part of this rigid body.