angleToXY Method

Return the (Strongly typed) angle from this vector to vectorB,using only the xy parts.

  • The returned angle can range from negative 180 degrees (negative PI radians) to positive 180 degrees (positive PI radians), not closed on the negative side.
  • Use planarAngleTo, signedAngleTo, angleToXY to take have angle measured in other planes.

angleToXY(vectorB: Vector3d): Angle

Parameter Type Description
vectorB Vector3d target vector of rotation.

Defined in

Last Updated: 08 January, 2020