moved away from state. added SAT-based hit detection