Real-Time Collision Detection Method for Fluid and Cloth