Consider a static obstacle placed in 3 Dimensional coordinate plane. A moving bot is programmed to pass through it. We know the position of obstacle. We also know the current position and current velocity of moving bot. Say, position and velocity are given as 3D vector.
How to decide whether the bot is approaching the obstacle or leaving the obstacle?
I think, the relative velocity should be able to differentiate it? Any approach please.