2
0
Эх сурвалжийг харах

move collisions walks down on crateB model

Samir Naik 22 жил өмнө
parent
commit
54872ff8c0

+ 1 - 1
direct/src/level/ModelEntity.py

@@ -24,7 +24,7 @@ class ModelEntity(BasicEntities.NodePathEntity):
                 self.model.reparentTo(self)
                 self.model.reparentTo(self)
 
 
         # HACK SDN: special code for moving crate wall collisions down
         # HACK SDN: special code for moving crate wall collisions down
-        if self.modelPath == "phase_9/models/cogHQ/woodCrateB":
+        if self.modelPath == "phase_9/models/cogHQ/woodCrateB.bam":
             cNode = self.find("**/wall")
             cNode = self.find("**/wall")
             if not cNode.isEmpty():
             if not cNode.isEmpty():
                 cNode.setZ(-.5)
                 cNode.setZ(-.5)