mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
use new interface
This commit is contained in:
parent
eceddf13ee
commit
e8eb423a06
@ -831,8 +831,8 @@ class LevelEditor(NodePath, PandaObject):
|
|||||||
self.cTrav = CollisionTraverser()
|
self.cTrav = CollisionTraverser()
|
||||||
|
|
||||||
# activate the collider with the traverser and pusher
|
# activate the collider with the traverser and pusher
|
||||||
self.pusher.addColliderNode(self.cSphereNode, base.drive.node())
|
self.pusher.addCollider(self.cSphereNode, base.camera, base.drive.node())
|
||||||
self.lifter.addColliderNode(self.cRayNode, base.drive.node())
|
self.lifter.addCollider(self.cRayNode, base.camera, base.drive.node())
|
||||||
# A map of zone ID's to a list of nodes that are visible from
|
# A map of zone ID's to a list of nodes that are visible from
|
||||||
# that zone.
|
# that zone.
|
||||||
self.nodeDict = {}
|
self.nodeDict = {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user