|
Capycore Engine
0.1.0
A simple and lightweight game engine written in C++ based on the Unity API architecture.
|
Structure representing the distance information between two colliders. More...
#include <body_distance_2d.h>
Public Attributes | |
| float | distance {0.0f} |
| Point | normal {0.0f, 0.0f} |
| Point | point_a {0.0f, 0.0f} |
| Point | point_b {0.0f, 0.0f} |
Structure representing the distance information between two colliders.
This struct encapsulates the distance, normal vector, and contact points between two physics bodies in the world.
| float BodyDistance2D::distance {0.0f} |
| Point BodyDistance2D::normal {0.0f, 0.0f} |
| Point BodyDistance2D::point_a {0.0f, 0.0f} |
| Point BodyDistance2D::point_b {0.0f, 0.0f} |