WoWInterface - View Single Post - Show frost mage icicle as part of UI
View Single Post
11-10-18, 08:21 AM   #7
A Fallenroot Satyr
Join Date: Mar 2018
Posts: 23
I have troubles rotating model over Z axe. Here's my code to show icicle:

local frame = CreateFrame("PlayerModel", "IciclesFrame", nil);
frame:SetFacing(math.pi / 2);
SetFacing method rotates model over Y axe. But I want to rotate it over Z axe as well. I tried to use custom camera, but it doesn't work for me, it errors with message "IciclesFrame is not using a custom camera.". What's interesting is that if I'm using "Creature/Arthaslichking/arthaslichking.m2" model, custom camera seems to work.
  Reply With Quote