A TravelingBall’s position is projected onto the BigLine (show as a white sphere with radius of 0.5), when
It’s perpendicular distance is less than 10 AND
It’s projected position is within the length of the BigLine
The projected point must be shown at the surface of the BigLine
Could you please give more details about the given scene?
- how does the ball move?
- what kind of line do you need?
In this case, a sketch would be perfect for describing the scene