summaryrefslogtreecommitdiff
path: root/honey/ecs/physics.lua
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2023-05-09 16:31:39 -0500
committersanine-a <sanine.not@pm.me>2023-05-09 16:31:39 -0500
commit78d8efa4ac61bc7fd4d1e5bfb41193e9dece5c03 (patch)
tree6508706f42e1c8a1aea0eebdeb5ce7a963498f7e /honey/ecs/physics.lua
parentb24a64fd45d71cfc18fea0e333906baceda031c8 (diff)
handle collisions symmetrically
Diffstat (limited to 'honey/ecs/physics.lua')
-rw-r--r--honey/ecs/physics.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/honey/ecs/physics.lua b/honey/ecs/physics.lua
index fe08359..9b22bd7 100644
--- a/honey/ecs/physics.lua
+++ b/honey/ecs/physics.lua
@@ -105,7 +105,7 @@ local function collide(self, a, b, collision)
local idA = ode.GeomGetData(a)
local idB = ode.GeomGetData(b)
handleCollision(self.db, idA, idB)
- --handleCollision(self.db, idB, idA)
+ handleCollision(self.db, idB, idA)
-- set up the joint params
local contact = ode.CreateContact{ surface={