Update collision.cpp