Physics collision callbacks

SIEGE has just recieved a new feature – one which was present in its D “ancestor”, but took quite until now to implement in C (it’s a long story why) – namely, physics collision callbacks.

True, they are not 100% complete yet (the post-step is still missing) and an important feature is still missing (namely, removing of physical bodies from within callbacks), but so far, so good!

The physics demo has been updated to handle the callbacks. Hit the F1 key to see:

  • collision points at beginning of collision
  • distances and normals (green lines)
  • objects which are currently colliding (red-colored objects)
Posted in SIEGE.