View Single Post
10-21-17, 02:38 PM   #2
Vrul
A Scalebane Royal Guard
 
Vrul's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2007
Posts: 404
This may work for you:
Code:
local modelFrame = CreateFrame("Frame", nil, UIParent)
modelFrame:SetPoint("Center", - 580, 300)
modelFrame:SetSize(200, 200)

local model = CreateFrame("DressUpModel", nil, modelFrame)
model:SetAllPoints()
model:SetItem(128827)
model:SetRotation(math.pi / 2)
  Reply With Quote