Added and refactored for Midpoint
Added grounded ceiling collision