Trouble setting up collision for Actor instance

I am having trouble setting up collision. And I think the cause is that car is an instance of Actor class because I had no problem at all when i used"models/car/carnsx.egg")

Here is my code"models/car/carnsx.egg"),0,0)

My attempt setting up collision"**/car_body")

Here is the error:

 File "", line 99, in setupCollision
AttributeError: 'libpanda.NodePath' object has no attribute 'setFromCollideMask'

Thanks in advance.

Instead of setting both the From and Into collide masks, you can do this:


This command will set 1 mask and reset the other, and this should do what you want, since the car is plain geometry.