works, not super nice code but anyway.... gives movement vectors