Yes, that's raycasting ;)
Awesome! tell us more. What engine?
I'm writing it in C# with XNA and my own "engine" we can say ;)