Added getAllEntitiesInRay to the CollisionScene class.