Hello,
currently i am trying to get panda3d running in pydev.
As mentioned in other threads here in the forum, i added
the panda python as new interpreter and so on…
The imports etc. work fine, the script executes and start the
window containing the environment model:
import direct.directbase.DirectStart
#Load the first environment model
environ = loader.loadModel("models/environment")
environ.reparentTo(render)
environ.setScale(0.25,0.25,0.25)
environ.setPos(-8,42,0)
#Run the tutorial
run()
(just copied from the manual)
The problem: PyDev does not recognize the “loader” and the “run()”.
The are marked red, and there is no content assist etc.
I am pretty new to python and panda, so how can this be fixed (if it can be fixed and there is a content assist…)
Thanks
Dathto