This returns the point on body 2. You can think of a Piston
joint as trying to keep the result of dJointGetPistonAnchor() and
dJointGetPistonAnchor2() the same in the direction perpendicular to the
pirsmatic axis. If the joint is perfectly satisfied,
this function will return the same value as dJointGetPistonAnchor() to
within roundoff errors. dJointGetPistonAnchor2() can be used, along with
dJointGetPistonAnchor(), to see how far the joint has come apart.
@brief Get the joint anchor w.r.t. body 2
This returns the point on body 2. You can think of a Piston joint as trying to keep the result of dJointGetPistonAnchor() and dJointGetPistonAnchor2() the same in the direction perpendicular to the pirsmatic axis. If the joint is perfectly satisfied, this function will return the same value as dJointGetPistonAnchor() to within roundoff errors. dJointGetPistonAnchor2() can be used, along with dJointGetPistonAnchor(), to see how far the joint has come apart.
@ingroup joints