constexpr uint16_t default_collision_category
Definition physics_creation_flags.h:5
constexpr uint16_t default_collision_mask
Definition physics_creation_flags.h:6
Flags for creating physics bodies.
Definition physics_creation_flags.h:14
bool enable_sensor_events
Whether to enable sensor events for the body.
Definition physics_creation_flags.h:56
bool dynamic
Density of the body.
Definition physics_creation_flags.h:20
bool enable_rotation
Whether to enable rotation for the body.
Definition physics_creation_flags.h:27
float friction
Friction coefficient of the body.
Definition physics_creation_flags.h:99
uint16_t mask
Collision mask filtering.
Definition physics_creation_flags.h:83
bool sensor
Whether the body is a sensor.
Definition physics_creation_flags.h:35
uint16_t category
Collision category filtering.
Definition physics_creation_flags.h:74
float desired_mass
Desired mass of the body.
Definition physics_creation_flags.h:91
float bounciness
Bounciness (restitution) of the body.
Definition physics_creation_flags.h:107
bool is_bullet
Whether the body is treated as a bullet.
Definition physics_creation_flags.h:65
bool enable_contact_events
Whether to enable contact events for the body.
Definition physics_creation_flags.h:43