|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
How a solver is allowed to move a body — the one answer both worlds give. More...


Go to the source code of this file.
Namespaces | |
| namespace | esengine |
| namespace | esengine::ecs |
Enumerations | |
| enum class | esengine::ecs::BodyType : u8 { esengine::ecs::Static , esengine::ecs::Kinematic , esengine::ecs::Dynamic } |
How a solver is allowed to move a body — the one answer both worlds give.
It lived in the flat body's header, which meant RigidBody3D.hpp included RigidBody.hpp to reach it. Neither plane owns this: a body is static, kinematic or dynamic in two dimensions and in three, and the enum crosses the boundary as one set of ordinals.
Definition in file BodyType.hpp.