Improved llama/rope collision detection