Entity-World collision detection and response