Pico Headers
|
A collision manifold Provides information about a collision. Normals always point from shape 1 to shape 2. 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 | vector |
Vector defined by vector = normal * overlap | |
A collision manifold Provides information about a collision. Normals always point from shape 1 to shape 2.
pv2 ph_manifold_t::normal |
Normal to colliding edge (in direction of MTV)
pfloat ph_manifold_t::overlap |
Amount of overlap between two shapes along colliding axis (MTD)
pv2 ph_manifold_t::vector |
Vector defined by vector = normal * overlap