stim::soft_body_description struct

Initialization parameters for soft bodies.

Public variables

soft_body_flags flags
The soft body's flags.
string_view id
A unique identifier for the soft body.
const object_constants* constants
Constants used to fine-tune the soft_body's behaviour.
mat4 object_to_world
The object-to-world transform of this object.
const mesh_description* mesh
The soft body's mesh.

Variable documentation

soft_body_flags stim::soft_body_description::flags

The soft body's flags.

string_view stim::soft_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::soft_body_description::constants

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

mat4 stim::soft_body_description::object_to_world

The object-to-world transform of this object.

const mesh_description* stim::soft_body_description::mesh

The soft body's mesh.