Cbump 3D documentation

From GiderosMobile
Revision as of 01:39, 15 August 2026 by MoKaLux (talk | contribs) (wip)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2026.8
Class: Bump

Description

original documentation: https://github.com/oniietzschan/bump-3dpd

bump is a Lua collision-detection library for axis-aligned rectangles. Its main features are:

  • bump.lua only does axis-aligned bounding-box (AABB) collisions. If you need anything more complicated than that (circles, polygons, etc.) give HardonCollider a look
  • handles tunnelling - all items are treated as "bullets". The fact that we only use AABBs allows doing this fast
  • strives to be fast while being economic in memory
  • it's centered on detection, but it also offers some (minimal & basic) collision response
  • can also return the items that touch a point, a segment or a rectangular zone
  • bump.lua is gameistic instead of realistic


License

bump.lua is licensed under the MIT license.