Added ability to gather dimension to help with checking collisions