Hi,
maybe it’s a stupid question but I used the Torque engine before and now with Panda3d I don’t know how to set right position coordinates for models…there’s a way to understand how to set the tree numbers of SetPosition()?
For exemple…in the manual they put (0,10,0) postion for the panda to start his movement…how do they know it was a good point to start?
how to find the right position where to set the camera?
it’s not possible to move models or camera with the mouse to know the coordinates of them?
To put my model in the right position I’ve tried 20 times!
Try nodePath.place() to pop up a placer panel, which allows you to slide your model around in the world until it’s visually where you want it. Then you can copy down the numbers.
There are other techniques, too. Sounds like you’re looking for a general level editor. There is one in Panda, although I think it suffers from a minor bug in version 1.1.0 (search the forum for posts about it).
Martin, you need to disable the mouse before you can think about placing the camera yourself. If you keep the mouse control enabled, a task is updating the position of the cam each frame, overriding your setPos()
You are right bigfoot, I was searching for the scene editor…I’ve seen the video tutorial too…but when I tried to lunch it with sceneEditor.py (in the directory of Scene Editor itself) it doesn’t work…
I’ve checked config and changed like this want-directtools #t want-tk #t
but is still don’t work…
can u help me?
do you know why is non abilitated by default?
it’s not usefull and necessary to create games?