Gets the physics state of a world if it already exists, or creates a new physics state if it does not exist.