Toast Engine
Loading...
Searching...
No Matches
physics::DamageCommand Struct Reference
Collaboration diagram for physics::DamageCommand:

Public Attributes

ShapeID shape
glm::vec3 world_center {}
float fracture_radius = 0.0f
float energy_density = 0.0f
glm::vec3 direction {}
Hardness max_hardness = k_hardest
BodyID source
uint64_t seed = 0
float shell_voxels = tunables().fracture_shell_voxels
std::optional< FragmentPush > push

The documentation for this struct was generated from the following file: