Used to keep global data for player access and use. Tells how physics bodies should act within a given scene by default.
More...
#include <jolt_components.hpp>
|
|
glm::vec3 | gravity = glm::vec3(0.0f, -9.80665f, 0.0f) |
| |
|
float | time_before_sleep = 5.0f |
| | In seconds.
|
| |
|
float | world_unit_scale = 1.0f |
| |
|
float | contact_bias_factor = 0.2f |
| |
|
float | restitution_threshold = 1.0f |
| |
|
bool | enable_constraints = true |
| |
|
bool | enable_collision_callbacks = true |
| |
Used to keep global data for player access and use. Tells how physics bodies should act within a given scene by default.
The documentation for this struct was generated from the following file: