mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-23 11:42:39 -06:00
You can stomp moles now
This commit is contained in:
parent
e4340eb131
commit
26bee34ec1
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
from pandac.PandaModules import NodePath, Point3, CollisionSphere, CollisionNode, Vec4
|
||||
from pandac.PandaModules import NodePath, Point3, CollisionTube, CollisionNode, Vec4
|
||||
from direct.interval.IntervalGlobal import Sequence, LerpPosInterval, Parallel, LerpScaleInterval, Track, ParticleInterval, Wait, Func
|
||||
from toontown.toonbase import ToontownGlobals
|
||||
from toontown.coghq import MoleFieldBase
|
||||
|
@ -35,7 +35,7 @@ class MoleHill(NodePath):
|
|||
self.moleHead = loader.loadModel('phase_12/models/bossbotHQ/mole_norm')
|
||||
self.moleHead.reparentTo(self.mole)
|
||||
moleColName = 'moleCol-%d-%s' % (self.moleField.doId, self.index)
|
||||
moleSphere = CollisionSphere(0, 0, 0, 1.0)
|
||||
moleSphere = CollisionTube(0, 0, 0, 0, 0, 1, 1)
|
||||
collNode = CollisionNode(moleColName)
|
||||
collNode.setIntoCollideMask(ToontownGlobals.WallBitmask)
|
||||
collNode.addSolid(moleSphere)
|
||||
|
|
Loading…
Reference in a new issue