pretty much @Griffpatch's raycasting tutorial. I might try to edit it myself, see if I can add things like items and such.