Updated "collisondetection" with canMoveCollide changes