quiz game scoring system
This commit is contained in:
@@ -104,7 +104,7 @@ class MazeObject {
|
||||
addPhysics(def.matrix, [-tubeSize / 2, 0.6, offsetZ/2], offsetZ)
|
||||
|
||||
addRoom(['floor', 'door', def.r ? 'door' : 'wall', def.f ? 'door' : 'wall', def.l ? 'door' : 'wall'], def, offsetZ)
|
||||
if (def.userData?.qid !== undefined || def.userData?.finish){
|
||||
if (def.userData?.qid !== undefined || def.userData?.finish || def.userData?.corner){
|
||||
addPhysics(def.matrix, [0,0,offsetZ + wallSize/2], { width: wallSize/2, height: wallSize/2, depth: wallSize/2}, 'side', true, def.userData)
|
||||
}
|
||||
//console.log('loadingggg', def.objects)
|
||||
|
||||
Reference in New Issue
Block a user