moved crate wall collisions up a little

This commit is contained in:
Samir Naik 2003-12-16 21:23:09 +00:00
parent 4d2f4dcc49
commit b4c9aa5cab
1 changed files with 2 additions and 2 deletions

View File

@ -27,13 +27,13 @@ class ModelEntity(BasicEntities.NodePathEntity):
if self.modelPath == "phase_9/models/cogHQ/woodCrateB.bam":
# move walls down
cNode = self.find("**/wall")
cNode.setZ(-1.25)
cNode.setZ(-.75)
# duplicate the floor and move it down to crate a
# catch effect for low-hopped toons
colNode = self.find("**/collision")
floor = colNode.find("**/floor")
floor2 = floor.copyTo(colNode)
floor2.setZ(-1.25)
floor2.setZ(-.75)
def setModelPath(self, path):
self.modelPath = path