Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
BodyType.hpp File Reference

How a solver is allowed to move a body — the one answer both worlds give. More...

Include dependency graph for BodyType.hpp:
This graph shows which files directly or indirectly include this file:

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 }

Detailed Description

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.