The task manager starts with some important tasks already assigned to it. Let's go ahead and print the list of tasks so we can see what the task manager is up to.
chp02_11.pyand resave it in the
__init__method to accomplish our goal here. At the end of the method add the following line:
NodePathsare reparented to
renderinstead of anything else.
class World: def __init__(self): base.setBackgroundColor(0, 0, 0) self.track = loader.loadModel("../Models/Track.egg") ...