Collision detection fix
First AI draft
Todo file