|
Capycore Engine
0.1.0
A simple and lightweight game engine written in C++ based on the Unity API architecture.
|
Enumeration of 2D body types. More...
#include <body_type_2d.h>
Public Types | |
| enum | Type : uint8_t { Static = 0 , Dynamic = 1 , Kinematic = 2 } |
Static Public Member Functions | |
| static b2BodyType | to_box2d_body_type (BodyType2D::Type type) |
| Converts the custom BodyType2D::Type to the corresponding Box2D body type. | |
Enumeration of 2D body types.
This struct defines the different types of physics bodies that can be created in a 2D physics world.
| enum BodyType2D::Type : uint8_t |
|
inlinestatic |
Converts the custom BodyType2D::Type to the corresponding Box2D body type.