Collision without physics

i kind of went with the second approach. i experimented a bit and now it works. thanks