coghq: fix mole collisions

This commit is contained in:
John Cote 2020-01-11 10:49:02 -05:00
parent 33c106de14
commit e0b9d18728

View file

@ -36,6 +36,7 @@ class MoleHill(NodePath):
self.moleHead.reparentTo(self.mole)
moleColName = 'moleCol-%d-%s' % (self.moleField.doId, self.index)
moleSphere = CollisionSphere(0, 0, 0, 1.0)
moleSphere.setTangible(0)
collNode = CollisionNode(moleColName)
collNode.setIntoCollideMask(ToontownGlobals.WallBitmask)
collNode.addSolid(moleSphere)