More collision functions for BaseEntity and BaseWorld.

Continuing to implement collision functions for these two classes.