Points in between 2 distant PoyLineSegment Points
I have 2 points in my PolyLineSegment Point collection. To animate an object on a straight line between these 2 points - that is enough to do it. Still, I need to calculate all the Points in between the source and destination points. e.g between Point(20,300) and (115,290). Is there an easy way to do this or do I need to develop my own algoithm. Getting the number of points between is easy with hypothenus, but not the actual points.
Anyone know if it is possible to hook up an event on the moving object to retrieve the current Point while the animation is playing?