Advertisement
metalx1000

Blender 3D Game - Print to Console

Jan 24th, 2012
478
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. import bge
  2.  
  3. def main():
  4.     cont = bge.logic.getCurrentController()
  5.     owner = cont.owner
  6.    
  7.     owner.localPosition.x+=.1
  8.    
  9.     print("Object's X Position is" , owner.localPosition.x)
  10.     print("Hello World")
  11.    
  12. main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement