The graph is easy to do having the Vector2 list, but I have a non-trivial problem obtaining the Vector3 Points:
As you can see, I get them using a Plane which can be in any orientation and rotation.
What formula can I use to convert them so I get X,Y points no matter the rotation of the plane.
PD: I use this code to do the job but it doesn't work on different positions and rotations of the plane...
projectedPosition.X = Vector3.Dot(ballPosition - planeOrigin, planeX); projectedPosition.Y = Vector3.Dot(ballPosition - planeOrigin, planeY);
PlaneY = Vector3.up & PlaneX = plane.transform.forward