mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
hiding collision spheres
This commit is contained in:
parent
9dad81603f
commit
3bd78f3bf4
@ -141,7 +141,7 @@ class DistancePhasedNode(PhasedObject, DirectObject, NodePath):
|
|||||||
cSphereNode.addSolid(cSphere)
|
cSphereNode.addSolid(cSphere)
|
||||||
cSphereNodePath = self.attachNewNode(cSphereNode)
|
cSphereNodePath = self.attachNewNode(cSphereNode)
|
||||||
cSphereNodePath.stash()
|
cSphereNodePath.stash()
|
||||||
cSphereNodePath.show()
|
# cSphereNodePath.show() # For debugging
|
||||||
self._colSpheres.append(cSphereNodePath)
|
self._colSpheres.append(cSphereNodePath)
|
||||||
|
|
||||||
self.__enableCollisions(-1)
|
self.__enableCollisions(-1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user