From 1d74beb26376c77c7ff1a8841b79e0dee324eca8 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sat, 20 Jul 2019 17:11:28 +0200 Subject: [PATCH] improvement(action3D): make action3D wall objects consumes mapped-boxes --- examples/gameplay/action3D/actors/wall.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/gameplay/action3D/actors/wall.lua b/examples/gameplay/action3D/actors/wall.lua index 6de23b0..0851ae3 100644 --- a/examples/gameplay/action3D/actors/wall.lua +++ b/examples/gameplay/action3D/actors/wall.lua @@ -4,7 +4,7 @@ local Wall = Base:extend() function Wall:new(world, x, y, z, w, h, d) Wall.super.new(self, world, "wall", x, y, z, w, h, d, true) self:setDebugColor(0,0,0) - self.boxes.Base(self, w, h, d) + self.boxes.Mapped(self, x, y, z, w, h, d) end return Wall