|
SolarSim
|
Provides physics properties for dynamic entity simulation. More...
#include <rigid_body_component.hpp>
Data Fields | |
| float | mass = 1.0f |
| glm::vec3 | vel = glm::vec3(0.0f) |
| bool | useGravity = true |
Provides physics properties for dynamic entity simulation.
| float solarsim::RigidBodyComponent::mass = 1.0f |
Mass of the entity in arbitrary units
| bool solarsim::RigidBodyComponent::useGravity = true |
Whether gravity affects this entity (Currently not implemented)
| glm::vec3 solarsim::RigidBodyComponent::vel = glm::vec3(0.0f) |
Current velocity vector