|
Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
|
#include <RigidBody2D.hpp>
Public Member Functions | |
| RigidBody2D ()=default | |
Public Attributes | |
| BodyType | bodyType {BodyType::Dynamic} |
| f32 | gravityScale {1.0f} |
| f32 | linearDamping {0.0f} |
| f32 | angularDamping {0.0f} |
| bool | fixedRotation {false} |
| bool | bullet {false} |
| bool | enabled {true} |
Definition at line 19 of file RigidBody2D.hpp.
|
default |
| f32 esengine::ecs::RigidBody2D::angularDamping {0.0f} |
Definition at line 30 of file RigidBody2D.hpp.
Referenced by rigidbody2dApplyJS(), and rigidbody2dToJS().
| BodyType esengine::ecs::RigidBody2D::bodyType {BodyType::Dynamic} |
Definition at line 21 of file RigidBody2D.hpp.
Referenced by rigidbody2dApplyJS(), and rigidbody2dToJS().
| bool esengine::ecs::RigidBody2D::bullet {false} |
Definition at line 36 of file RigidBody2D.hpp.
Referenced by rigidbody2dApplyJS(), and rigidbody2dToJS().
| bool esengine::ecs::RigidBody2D::enabled {true} |
Definition at line 39 of file RigidBody2D.hpp.
Referenced by rigidbody2dApplyJS(), and rigidbody2dToJS().
| bool esengine::ecs::RigidBody2D::fixedRotation {false} |
Definition at line 33 of file RigidBody2D.hpp.
Referenced by rigidbody2dApplyJS(), and rigidbody2dToJS().
| f32 esengine::ecs::RigidBody2D::gravityScale {1.0f} |
Definition at line 24 of file RigidBody2D.hpp.
Referenced by rigidbody2dApplyJS(), and rigidbody2dToJS().
| f32 esengine::ecs::RigidBody2D::linearDamping {0.0f} |
Definition at line 27 of file RigidBody2D.hpp.
Referenced by rigidbody2dApplyJS(), and rigidbody2dToJS().