Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API Vector3D CreateNormalVectorFromYawPitch

Last wiki revision 2020-10-12

Constructs a unit vector in the given direction. vector = CreateNormalVectorFromYawPitch(yawRadians, pitchRadians)

  • yawRadians : - Yaw about {0, 0, 1} going counter-clockwise from {1, 0, 0}.
  • pitchRadians : - Pitch toward {0, 0, -1} from the nearest vector in the x,y plane.
  • vector : - Vector3DMixin in the given direction.

Source

https://warcraft.wiki.gg/wiki/API_Vector3D_CreateNormalVectorFromYawPitch · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.