Advertisement
metalx1000

Blender 3D Game - scale Object size

Jan 24th, 2012
363
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. import bge
  2.  
  3. def main():
  4.     cont = bge.logic.getCurrentController()
  5.     owner = cont.owner
  6.    
  7.     owner.localScale.x+=.1
  8.     print(owner.localScale)
  9.    
  10. main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement