m
Move page script moved page API Model SetFacing to WoW:API Model SetFacing without leaving a redirect
No edit summary |
m (Move page script moved page API Model SetFacing to WoW:API Model SetFacing without leaving a redirect) |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{widgetmethod}} | |||
Rotates the displayed model for the given angle in counter-clockwise direction | Rotates the displayed model for the given angle in counter-clockwise direction | ||
myModel:SetFacing( | myModel:SetFacing(math.pi); --rotates the model 180° | ||
---- | ---- | ||
| Line 19: | Line 19: | ||
The rotation works like rotating your portrait in the CharacterFrame. Blizzard calculates the axis around which it rotates from the fixed coordinate system of the mesh-file, so you have no influence on this without changing the mesh-file itself. | The rotation works like rotating your portrait in the CharacterFrame. Blizzard calculates the axis around which it rotates from the fixed coordinate system of the mesh-file, so you have no influence on this without changing the mesh-file itself. | ||