raycast done, just needs some bug squashing