Finished new collision detection for platforms.