SHARE
TWEET

Untitled

a guest Aug 12th, 2017 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from bge import logic
  2. logic.getCurrentController().owner.localLinearVelocity.y = 0.5
  3. ## also localLinearVelocity = (0,0.5,0) or setLinearVelocity(vector, local=True)
  4.    
  5. from bge import logic
  6. logic.getCurrentController().owner.applyRotation((0,0,0.02))
RAW Paste Data
Top