I am new to panda3d (and game dev as well). I just installed the .deb package, the samples etc. work all fine, but when I try to run the sceneEditory.py, I get the following error:
joerg@dars:/usr/share/panda3d/SceneEditor$ python sceneEditor.py
DirectStart: Starting the game.
Warning: DirectNotify: category 'Interval' already exists
Known pipe types:
glxGraphicsPipe
(all display modules loaded.)
libGL warning: 3D driver claims to not support visual 0x4b
:util(warning): Adjusting global clock's real time by 0.842957 seconds.
Warning: DirectNotify: category 'ForceGroup' already exists
Warning: DirectNotify: category 'Particles' already exists
Warning: DirectNotify: category 'ParticleEffect' already exists
Traceback (most recent call last):
File "sceneEditor.py", line 1707, in ?
editor = myLevelEditor(parent = tkroot)
File "sceneEditor.py", line 124, in __init__
AppShell.__init__(self, parent)
File "linuxroot/usr/share/panda3d/direct/src/tkwidgets/AppShell.py", line 95, in __init__
File "sceneEditor.py", line 266, in appInit
self.seSession = SeSession()
File "/usr/share/panda3d/SceneEditor/seSession.py", line 37, in __init__
self.drList = DisplayRegionList()
File "/usr/share/panda3d/SceneEditor/seSession.py", line 901, in __init__
drc = DisplayRegionContext(cam)
File "/usr/share/panda3d/SceneEditor/seSession.py", line 762, in __init__
self.iRay = SelectionRay(self.cam)
File "/usr/share/panda3d/SceneEditor/seSelection.py", line 539, in __init__
SelectionQueue.__init__(self, parentNP)
File "/usr/share/panda3d/SceneEditor/seSelection.py", line 402, in __init__
self.collideWithGeom()
File "/usr/share/panda3d/SceneEditor/seSelection.py", line 449, in collideWithGeom
self.collisionNode.setCollideGeom(1)
AttributeError: 'libpanda.CollisionNode' object has no attribute 'setCollideGeom'
What distribution are you running? What deb file did you download? (note that Ubuntu and Debian both use .deb-files since they are both “debian related”)
The big problem, I think, is that the Scene Editor is in the top-level directory, essentially advertising itself: “run me! run me,” when in fact it should be tucked away in a corner.