Entry 3093
blender
Submitted by anonymous
on Jan. 26, 2010 at 9:45 a.m.
Language: Python. Code size: 245 bytes.
import GameLogic cont = GameLogic.getCurrentController() own = cont.owner fward = own.sensor["fwardarrow"] pos = own.position posx, posy, posz = pos if fward.positive: posx += 1 pos = posx, posy, posz own.position = pos
This snippet took 0.00 seconds to highlight.
Back to the Entry List or Home.