collision detection

trying to make collision objects work correctly