raycasting

Raycasting draws an invisible line in space from an object to find out if anything collides with it.