Changed collision script for the OOP day.