diff options
Diffstat (limited to 'scripts/character/collide.lua')
-rw-r--r-- | scripts/character/collide.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/character/collide.lua b/scripts/character/collide.lua new file mode 100644 index 0000000..1ac6cff --- /dev/null +++ b/scripts/character/collide.lua @@ -0,0 +1,6 @@ +require 'honey.std' + +return function(db, self, other, point) + local tbl = ode.ContactGeomTable(point) + print(tbl.pos, tbl.normal, tbl.depth, tbl.g1, tbl.g2) +end |