cfo: Goon collision fixes. Fixes Trac #12

This commit is contained in:
Anthony Castelli 2014-06-15 12:05:38 -07:00
parent 09976c0495
commit d98e9992e2

View file

@ -95,7 +95,7 @@ class DistributedGoon(DistributedCrushableEntity.DistributedCrushableEntity, Goo
self.cSphereBitMask = ToontownGlobals.WallBitmask
self.cSphereNode.setCollideMask(self.cSphereBitMask)
self.cSphere.setTangible(1)
self.sSphere = CollisionSphere(0.0, 0.0, self.headHeight + 0.8, 0.2)
self.sSphere = CollisionSphere(0.0, 0.0, self.headHeight + 0.8, 1.2)
self.sSphereNode = CollisionNode('toonSphere')
self.sSphereNode.addSolid(self.sSphere)
self.sSphereNodePath = self.head.attachNewNode(self.sSphereNode)