made player object global, added player attributes in hypotenus
fixing raycasting