Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
RigidBody2D.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
2// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
10#pragma once
11
12#include "../../core/Types.hpp"
14#include "./BodyType.hpp"
15
16namespace esengine::ecs {
17
22
25
28
31
33 bool fixedRotation{false};
34
36 bool bullet{false};
37
39 bool enabled{true};
40
41 RigidBody2D() = default;
42};
43
44} // namespace esengine::ecs
How a solver is allowed to move a body — the one answer both worlds give.
Reflection and metadata system for automatic binding generation.
#define ES_COMPONENT(...)
Mark a struct/class as a component that should be exposed to scripts.
#define ES_PROPERTY(...)
Mark a field as a property that should be exposed to scripts.
Core type definitions and utilities for ESEngine.
float f32
32-bit floating point
Definition Types.hpp:59