|
Pico Headers
|
A collision result Provides information about a collision. Normals always point from the target shape to the colliding shape. More...
#include <pico_hit.h>

Public Attributes | |
| pv2 | normal |
| Normal to colliding edge (in direction of MTV) | |
| pfloat | overlap |
| Amount of overlap between two shapes along colliding axis (MTD) | |
| pv2 | mtv |
| Minimum Translation Vector (MTV) defined by `mtv = normal * overlap. | |
A collision result Provides information about a collision. Normals always point from the target shape to the colliding shape.
| pv2 ph_sat_t::normal |
Normal to colliding edge (in direction of MTV)
| pfloat ph_sat_t::overlap |
Amount of overlap between two shapes along colliding axis (MTD)
| pv2 ph_sat_t::mtv |
Minimum Translation Vector (MTV) defined by `mtv = normal * overlap.