Physics not starting

I’m trying to learn how to use the physics manager, and I started with the example here, 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.


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

Oh, it’s supposed to be attachPhysicalNode…facepalm