This commit is contained in:
@@ -81,7 +81,7 @@ class MazeObject {
|
||||
});
|
||||
|
||||
//the floor:
|
||||
addPhysics(def.matrix, [0, -0.2, offsetZ + wallSize/2], {width:wallSize/2, height:0.1, depth: wallSize/2})
|
||||
addPhysics(def.matrix, [0, -0.1, offsetZ + wallSize/2], {width:wallSize/2, height:0.1, depth: wallSize/2})
|
||||
}
|
||||
|
||||
this.mazeObject = function(def, room, step = 0) {
|
||||
@@ -106,7 +106,7 @@ class MazeObject {
|
||||
addPhysics(def.matrix, [tubeSize / 2, 0.6, offsetZ/2], offsetZ)
|
||||
addPhysics(def.matrix, [-tubeSize / 2, 0.6, offsetZ/2], offsetZ)
|
||||
//the floor:
|
||||
addPhysics(def.matrix, [0, -0.2, offsetZ/2], {width:tubeSize/2, height:0.1, depth: offsetZ/2})
|
||||
addPhysics(def.matrix, [0, -0.1, offsetZ/2], {width:tubeSize/2, height:0.1, depth: offsetZ/2})
|
||||
|
||||
|
||||
addRoom(['floor', 'door', def.r ? 'door' : 'wall', def.f ? 'door' : 'wall', def.l ? 'door' : 'wall'], def, offsetZ)
|
||||
|
||||
Reference in New Issue
Block a user