Trying to move the view.
[krufty_fps.git] / demo / pack_out / scripts / cam.py
blob0003e3dc41c8d5a5dcbb8968d55edd1a42209bc7
1 #!/usr/bin/python
3 def key_down(me, params):
4 print "the params are", params
6 def mouse_stuff(me, params):
7 #print "the params to the mouse are", params
8 me.engine.sceneView.getViewMatrixAsLookAt(osg.Vec3())
10 self.functions['MOUSEMOTION'] = mouse_stuff
11 self.functions['KEYDOWN'] = key_down