Created a basic collision check with other objects.