Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function IsGrounded(): boolean {
- return Physics.Raycast(transform.position, -Vector3.up, distToGround + 0.1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement