ignore raycast layer on enemy
updated player prefab to work with trigger collider
remove unneeded variable