diff options
Diffstat (limited to 'main.lua')
-rw-r--r-- | main.lua | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -8,10 +8,12 @@ honey.init() local db = honey.ecs.EntityDb() local systems = honey.ecs.SystemDb(db) +local space = honey.ode.HashSpaceCreate(honey.ode.Space0) systems:addSystems(honey.ecs.node.system) systems:addSystems(honey.ecs.render.system) systems:addSystems(honey.ecs.script.system) +systems:addSystems(honey.ecs.collision.system, { space=space }) -- camera db:createEntityWithComponents{ |