12345678910111213141516171819202122232425262728293031 |
- #joystick flythrough camera for scene testing #
- #shuvit.org #
- ################################################
-
- import bge
-
- def main():
- #####
- #init
- cont = bge.logic.getCurrentController()
- own = cont.owner
-
- own['lmLR'] = 0
- own['lmUD'] = 0
- own['rmLR'] = 0
- own['rmUD'] = 0
- own['mTrig'] = 0
- own['last_move_x'] = 0
- own['last_move_y'] = 0
- own['aBut'] = 0
- own['bBut'] = 0
- own['xBut'] = 0
- own['yBut'] = 0
- own['lBump'] = 0
- own['rBump'] = 0
- own['stBut'] = 0
- own['bkBut'] = 0
- own['ltsBut'] = 0
- own['rtsBut'] = 0
-
- main()
|