![]() |
vkmEngine 1.0.0
A C++ game engine · vkmengine.com
|
A resolved (non-trigger) contact between two bodies began, lasted or ended this tick. More...
#include <physics_events.h>
A resolved (non-trigger) contact between two bodies began, lasted or ended this tick.
a has the lower entity slot, so a pair is named the same way every tick. On Began and Stayed, point is a representative world-space position and normal points a to b; on Ended both keep their defaults, and either id may name a dead entity, since Ended is sent whatever ended the contact. See Behavior::onCollisionEnter for the per-entity form.