resetting drive mode

I am usign the very basic drive mode in panda, and that is fine for what I want. However at times i want to reset the camera to its starting position- is there a way to do this?

Try this:

base.mouseInterfaceNode.setPos(0, 0, 0)
base.mouseInterfaceNode.setHpr(0, 0, 0)

If you want to forget about keys being held down, too, you can just do this instead:


base.mouseInterfaceNode.reset()

David