Skip to content

Instantly share code, notes, and snippets.

@irrationalistic
Created November 9, 2014 01:16
Show Gist options
  • Save irrationalistic/40351c5cfa3fceda6568 to your computer and use it in GitHub Desktop.
Save irrationalistic/40351c5cfa3fceda6568 to your computer and use it in GitHub Desktop.
startPos = own.position
endPos = [startPos[0], startPos[1] + 1, startPos[2]]
print(startPos)
print(endPos)
rayed = own.rayCast(endPos, startPos)
print(rayed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment