Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API Model SetPosition

Last wiki revision 2023-08-19

Positions a model relative to the bottom-left corner. Model:SetPosition(positionX, positionY, positionZ)

  • positionX: - Positive values moves the model right; negative left.
  • positionY: - Positive values moves the model up, negative down.
  • positionZ: - Positive values moves the model nearer; negative further away.
  • The bottom left corner of the Model frame will always have coordinates (0,0,0). However, the top right corner's coordinate depends upon the width and height of the Model frame, and the screen resolution returned by /.

The following script calculates these top and right edges:

Source

https://warcraft.wiki.gg/wiki/API_Model_SetPosition · 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.