line interacting with ball