angleToXY Method

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

  • The returned angle is between -180 and 180 degrees.
  • Use planarAngleTo and signedAngleTo to return an angle measured in a specific plane.

angleToXY(vectorB: Vector3d): Angle

Parameter Type Description
vectorB Vector3d target vector.

Returns - Angle

Defined in

Last Updated: 17 December, 2024