Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import bge
- owner = bge.logic.getCurrentController().owner
- z=owner.localPosition.z
- if z < 5:
- owner.localPosition.z+=.1
- print(z)
- else:
- owner.applyRotation([0,0,.1])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement