Nur schnell n kleiner Code, falls ihr ne Tracefunktion für euer 2D Spiel braucht http://pastebin.com/NjXbkGRS