|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
An axis-aligned box, sized in world units around the entity's origin. More...
#include <RigidBody3D.hpp>
Public Attributes | |
| glm::vec3 | halfExtents {50.0f, 50.0f, 50.0f} |
| glm::vec3 | center {0.0f, 0.0f, 0.0f} |
| Where the shape sits from the entity's origin, in world units; zero is centred on it. | |
| f32 | friction {0.3f} |
| f32 | restitution {0.0f} |
| bool | isSensor {false} |
| A sensor reports overlaps and stops nothing. | |
| bool | enabled {true} |
An axis-aligned box, sized in world units around the entity's origin.
Definition at line 82 of file RigidBody3D.hpp.
| glm::vec3 esengine::ecs::BoxCollider3D::center {0.0f, 0.0f, 0.0f} |
Where the shape sits from the entity's origin, in world units; zero is centred on it.
Definition at line 89 of file RigidBody3D.hpp.
Referenced by EMSCRIPTEN_BINDINGS().
| bool esengine::ecs::BoxCollider3D::enabled {true} |
Definition at line 102 of file RigidBody3D.hpp.
Referenced by EMSCRIPTEN_BINDINGS().
| f32 esengine::ecs::BoxCollider3D::friction {0.3f} |
Definition at line 92 of file RigidBody3D.hpp.
Referenced by EMSCRIPTEN_BINDINGS().
| glm::vec3 esengine::ecs::BoxCollider3D::halfExtents {50.0f, 50.0f, 50.0f} |
Definition at line 85 of file RigidBody3D.hpp.
Referenced by EMSCRIPTEN_BINDINGS().
| bool esengine::ecs::BoxCollider3D::isSensor {false} |
A sensor reports overlaps and stops nothing.
Definition at line 99 of file RigidBody3D.hpp.
Referenced by EMSCRIPTEN_BINDINGS().
| f32 esengine::ecs::BoxCollider3D::restitution {0.0f} |
Definition at line 95 of file RigidBody3D.hpp.
Referenced by EMSCRIPTEN_BINDINGS().