Advertisement
Guest User

Untitled

a guest
Aug 12th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  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))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement