I’m trying to learn how to program the camera, and sadly, the manual doesn’t really go far enough, so what I’d really like to do, is study and play around with Panda’s default camera codes. In the manual it says:
The trouble is, I can’t find any of these codes. I looked in the ShowBase directory but no luck. Does anybody know where I can find the codes for the default camera ‘tasks’ and ‘methods’ such as useDrive() that are mentioned above.
I just want to study them to see how they work. You see, I’m really trying hard to learn Panda3D and I’ve found that studying actual code is an enormous help to my learning process.
I was hoping that the actual camera code was somewhere in one of the Panda directories (like GravityWalker.py, DirectButton.py… and so on).
I guess that what I’m looking for is some pre-defined code that I can learn from and tweak to make my own camera controls, without having to write it all from scratch (which is very hard for a newbie ).