Advertisement
Guest User

Untitled

a guest
Jul 25th, 2014
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. function IsGrounded(): boolean {
  2. return Physics.Raycast(transform.position, -Vector3.up, distToGround + 0.1);
  3. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement