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

Public Attributes

BodyType type = BodyType::dynamic_body
bool allow_sleep = true
glm::vec3 position = {}
glm::quat rotation = glm::quat(1.0f, 0.0f, 0.0f, 0.0f)
glm::vec3 linear_velocity = {}
glm::vec3 angular_velocity = {}
float mass = 1.0f
float gravity_scale = 1.0f
glm::bvec3 lock_position = glm::bvec3(false)
glm::bvec3 lock_rotation = glm::bvec3(false)
float linear_damping = 0.0f
float angular_damping = 0.0f
float drag_scale = 1.0f
LayerFilter layers

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