mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 17:35:34 -04:00
added metal crate to wall hack
This commit is contained in:
parent
a4da955e97
commit
4a5e3bea03
@ -24,7 +24,8 @@ class ModelEntity(BasicEntities.NodePathEntity):
|
||||
self.model.reparentTo(self)
|
||||
|
||||
# HACK SDN: special code for moving crate wall collisions down
|
||||
if self.modelPath == "phase_9/models/cogHQ/woodCrateB.bam":
|
||||
if self.modelPath in ("phase_9/models/cogHQ/woodCrateB.bam",
|
||||
"phase_9/models/cogHQ/metal_crateB.bam"):
|
||||
# move walls down
|
||||
cNode = self.find("**/wall")
|
||||
cNode.setZ(-.75)
|
||||
|
Loading…
x
Reference in New Issue
Block a user