coghq: fix vp cage collision
This commit is contained in:
parent
f06dbddeca
commit
cc7a3eded6
1 changed files with 1 additions and 0 deletions
|
@ -220,6 +220,7 @@ class DistributedSellbotBoss(DistributedBossCog.DistributedBossCog, FSM.FSM):
|
||||||
self.cagedToon.setPosHpr(0, -2, 0, 180, 0, 0)
|
self.cagedToon.setPosHpr(0, -2, 0, 180, 0, 0)
|
||||||
self.cagedToon.loop('neutral')
|
self.cagedToon.loop('neutral')
|
||||||
touch = CollisionPolygon(Point3(-3.0382, 3.0382, -1), Point3(3.0382, 3.0382, -1), Point3(3.0382, -3.0382, -1), Point3(-3.0382, -3.0382, -1))
|
touch = CollisionPolygon(Point3(-3.0382, 3.0382, -1), Point3(3.0382, 3.0382, -1), Point3(3.0382, -3.0382, -1), Point3(-3.0382, -3.0382, -1))
|
||||||
|
touch.setTangible(0)
|
||||||
touchNode = CollisionNode('Cage')
|
touchNode = CollisionNode('Cage')
|
||||||
touchNode.setCollideMask(ToontownGlobals.WallBitmask)
|
touchNode.setCollideMask(ToontownGlobals.WallBitmask)
|
||||||
touchNode.addSolid(touch)
|
touchNode.addSolid(touch)
|
||||||
|
|
Loading…
Reference in a new issue