It probably goes without saying that I am completely new to panda3d.
I’ve seen several ways to import various panda3d classes/modules, but they don’t seem consistent and I can’t figure out what the preferred way to do it is. For example, the “helloWorld” part of the manual seems to import things from “direct” (which I can’t find in the modules list):
from direct.showbase.ShowBase import ShowBase
from direct.task import Task
from direct.actor.Actor import Actor
from direct.interval.IntervalGlobal import Sequence
Is “direct” somehow equivalent to “panda3d”? Also, how do you import/use the “core” panda3d classes this way? Do you use for example:
from direct.core import Camera
I’ve also seen this:
from pandac.PandaModules import *
I can’t find a reference to “pandac.PandaModules” in the documentation, but it seems to import all of the core stuff?
How do people normally handle this? Thanks.