diff options
author | sanine-a <sanine.not@pm.me> | 2023-05-09 16:31:39 -0500 |
---|---|---|
committer | sanine-a <sanine.not@pm.me> | 2023-05-09 16:31:39 -0500 |
commit | 78d8efa4ac61bc7fd4d1e5bfb41193e9dece5c03 (patch) | |
tree | 6508706f42e1c8a1aea0eebdeb5ce7a963498f7e | |
parent | b24a64fd45d71cfc18fea0e333906baceda031c8 (diff) |
handle collisions symmetrically
-rw-r--r-- | honey/ecs/physics.lua | 2 |
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={ |