I am beginner in Panda3D module, so I am playing around. I want to move the camera forward on the press of "w". So I did this in the init class.
self.accept('w', self.forward)
Now I am clueless about what I should write in the forward function.
so I would create three variables to store the camera's possession and then modify the variables and then finally change the angle of the camera:
just to say I used a key map and then adjusted the key map according to the keys pressed, but instead you can turn all the if statements into functions