Here is a tutorial on how to get started with the raycaster object,
if you are looking to start your own doom game or doom zombie game / whatever game
check out this tutorial - to get a better idea how to get started with collisions
using the ray caster object.