35 glm::vec3 linear_velocity = glm::vec3(0.0);
36 glm::vec3 angular_velocity = glm::vec3(0.0f);
38 glm::vec3 force = glm::vec3(0.0f);
39 glm::vec3 impulse = glm::vec3(0.0f);
40 glm::vec3 torque = glm::vec3(0.0f);
42 float mass_factor = 1.0f;
43 glm::vec3 center_mass_position = glm::vec3(0.0f);
44 float linear_damping = 0.0f;
45 float angular_damping = 0.0f;
47 float gravity_factor = 1.0f;
48 float friction = 0.8f;
49 float restitution = 0.2f;
physics body data-driven representative
Definition components.hpp:34
uint8_t body_layer_type
body_layer (object layers) refer to the rules of the collision system specified in JoltPhysics
Definition components.hpp:56
uint8_t body_movement_type
body_type::fixed means this physics body is static
Definition components.hpp:52