|
3DRadSpace 0.1.0Alpha
3DRadSpace is a free, simple to use, rapid application development game engine.
|
Physics engine configuration settings. More...
#include <PhysicsSettings.hpp>

Public Attributes | |
| bool | PhysicsEnabled = true |
| Whether the physics engine is enabled. If set to false, physics calculations will be skipped. | |
| Math::Vector3 | Gravity = Math::Vector3(0.0f, -9.81f, 0.0f) |
| Global gravity vector applied to all physics objects. Default is (0, -9.81, 0) representing Earth's gravity. | |
| double | TimeStep = 0.0166666666666667 |
| The time step for the physics simulation in seconds. Default is 1/60 seconds. | |
| void * | Extra = nullptr |
| Extra data used for custom physics engine extensions or implementations. | |
Physics engine configuration settings.
| void* Engine3DRadSpace.Physics::PhysicsSettings::Extra = nullptr |
Extra data used for custom physics engine extensions or implementations.
| Math::Vector3 Engine3DRadSpace.Physics::PhysicsSettings::Gravity = Math::Vector3(0.0f, -9.81f, 0.0f) |
Global gravity vector applied to all physics objects. Default is (0, -9.81, 0) representing Earth's gravity.
| bool Engine3DRadSpace.Physics::PhysicsSettings::PhysicsEnabled = true |
Whether the physics engine is enabled. If set to false, physics calculations will be skipped.
| double Engine3DRadSpace.Physics::PhysicsSettings::TimeStep = 0.0166666666666667 |
The time step for the physics simulation in seconds. Default is 1/60 seconds.