|
NcEngine
|
#include "ncengine/ecs/Component.h"#include "ncengine/ecs/Transform.h"#include "ncengine/physics/Constraints.h"#include "ncengine/physics/Vehicle.h"#include "ncengine/physics/Shape.h"Go to the source code of this file.
Classes | |
| struct | nc::DegreeOfFreedom |
| Flags indicating allowed degrees of freedom of a RigidBody. More... | |
| struct | nc::RigidBodyFlags |
| Flags for configuring RigidBody behavior. More... | |
| struct | nc::RigidBodyInfo |
| Properties for initializing a RigidBody. More... | |
| class | nc::RigidBody |
| Component managing physics simulation properties. More... | |
| struct | nc::StoragePolicy< RigidBody > |
Typedefs | |
| using | nc::BodyHandle = void * |
| Handle to internal RigidBody state. | |
Enumerations | |
| enum class | nc::BodyType : uint8_t { Dynamic , Kinematic , Static } |
| Determines movement and collision behavior of a RigidBody. More... | |
|
strong |
Determines movement and collision behavior of a RigidBody.
| Enumerator | |
|---|---|
| Dynamic | movable with velocities and forces; collides with all other bodies |
| Kinematic | movable only with velocities; collides with all other bodies |
| Static | non-movable; does not collide with other static bodies (required if Entity is static) |