Preliminary collision with objects. There needs to be a rectangle collision for collision with objects.