|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
#include <RigidBody3D.hpp>
Public Attributes | |
| f32 | radius {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} |
| bool | enabled {true} |
Definition at line 106 of file RigidBody3D.hpp.
| glm::vec3 esengine::ecs::SphereCollider3D::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 112 of file RigidBody3D.hpp.
Referenced by EMSCRIPTEN_BINDINGS().
| bool esengine::ecs::SphereCollider3D::enabled {true} |
Definition at line 124 of file RigidBody3D.hpp.
Referenced by EMSCRIPTEN_BINDINGS().
| f32 esengine::ecs::SphereCollider3D::friction {0.3f} |
Definition at line 115 of file RigidBody3D.hpp.
Referenced by EMSCRIPTEN_BINDINGS().
| bool esengine::ecs::SphereCollider3D::isSensor {false} |
Definition at line 121 of file RigidBody3D.hpp.
Referenced by EMSCRIPTEN_BINDINGS().
| f32 esengine::ecs::SphereCollider3D::radius {50.0f} |
Definition at line 108 of file RigidBody3D.hpp.
Referenced by EMSCRIPTEN_BINDINGS().
| f32 esengine::ecs::SphereCollider3D::restitution {0.0f} |
Definition at line 118 of file RigidBody3D.hpp.
Referenced by EMSCRIPTEN_BINDINGS().