mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
move collisions walks down on crateB model
This commit is contained in:
parent
c70361e30d
commit
54872ff8c0
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user