mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
removed unnessecary collide flag
This commit is contained in:
parent
fa4278b3ae
commit
a74f25d0ee
@ -177,7 +177,7 @@ class ShipPilot(PhysicsWalker):
|
||||
self.collisionsActive = active
|
||||
shipCollWall = self.shipNodePath.find("**/collision_hull;+s")
|
||||
if active:
|
||||
self.cNodePath.node().setFromCollideMask(self.wallBitmask | self.floorBitmask)
|
||||
self.cNodePath.node().setFromCollideMask(self.wallBitmask)
|
||||
self.cNodePath.node().setIntoCollideMask(BitMask32.allOff())
|
||||
self.cTrav.addCollider(self.cNodePath, self.pusher)
|
||||
shipCollWall.stash()
|
||||
|
Loading…
x
Reference in New Issue
Block a user