Physics not starting

I’m trying to learn how to use the physics manager, and I started with the example here http://www.panda3d.org/manual/index.php/Enabling_physics_on_a_node, but it doesn’t work because base.physicsMgr is NoneType.

As described in the page immediately before that one, you must first call base.enableParticles() to activate the physics engine.

David

Ah, thank you, but now it says libpandaphysics.PhysicsManager object has no attribute attachPhysicsNode.

Oh, it’s supposed to be attachPhysicalNode…facepalm