Struct atlas::physics::physics_body
ClassList > atlas > physics > physics_body
Public Attributes
Type | Name |
---|---|
float | angular_damping = 0.0f |
glm::vec3 | angular_velocity = glm::vec3(0.0f) |
uint32_t | body_id = 0 |
uint8_t | body_layer_type = body\_layer::Moving |
uint8_t | body_movement_type = body\_type::Static |
uint8_t | body_type = 2 |
glm::vec3 | center_mass_position = glm::vec3(0.0) |
int | count = 0 |
glm::vec3 | cumulative_force = glm::vec3(0.0) |
glm::vec3 | cumulative_torque = glm::vec3(0.0) |
float | friction = 0.8f |
float | gravity_factor = 1.0f |
float | linear_damping = 0.0f |
glm::vec3 | linear_velocity = glm::vec3(0.0) |
float | mass_factor = 1.0f |
float | restitution = 0.2f |
bool | use_gravity = true |
Public Attributes Documentation
variable angular_damping
float atlas::physics::physics_body::angular_damping;
variable angular_velocity
glm::vec3 atlas::physics::physics_body::angular_velocity;
variable body_id
uint32_t atlas::physics::physics_body::body_id;
variable body_layer_type
uint8_t atlas::physics::physics_body::body_layer_type;
variable body_movement_type
uint8_t atlas::physics::physics_body::body_movement_type;
variable body_type
uint8_t atlas::physics::physics_body::body_type;
variable center_mass_position
glm::vec3 atlas::physics::physics_body::center_mass_position;
variable count
int atlas::physics::physics_body::count;
variable cumulative_force
glm::vec3 atlas::physics::physics_body::cumulative_force;
variable cumulative_torque
glm::vec3 atlas::physics::physics_body::cumulative_torque;
variable friction
float atlas::physics::physics_body::friction;
variable gravity_factor
float atlas::physics::physics_body::gravity_factor;
variable linear_damping
float atlas::physics::physics_body::linear_damping;
variable linear_velocity
glm::vec3 atlas::physics::physics_body::linear_velocity;
variable mass_factor
float atlas::physics::physics_body::mass_factor;
variable restitution
float atlas::physics::physics_body::restitution;
variable use_gravity
bool atlas::physics::physics_body::use_gravity;
The documentation for this class was generated from the following file TheAtlasEngine/atlas/physics/jolt-cpp/jolt_components.hpp