struct
rigid_body_descriptionInitialization 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.