Problem with collision detection example

I’ve copied the example from the following link and tried to run:

But error message shown:
base.cTrav.addCollider(sColl[0] , self.collHandEvent)
Type Error: CollisionTraverser::addCollider() argument 1 must be NodePath, not CollisionNode

Can anyone tell me how to debug it?

Oh thats intresting it seems that the manual is written for Panda 1.0.5
read this to solve the problem.
Hope this helps

I can run the demo now
Thanks very much

I’ve made a chang in the manual.

def initCollisionSphere( self, obj, show=False):
  return([b]cNodepath[/b],collSphereStr )

Hope its correct[/b]