[DiscordArchive] LUA Model from different angle? I use this: ``...
[DiscordArchive] LUA Model from different angle? I use this: ``...
![[Image: image.png?ex=690c6b68&is=690b19e8&hm=8b5...8f339c76a&]](https://cdn.discordapp.com/attachments/1384618879082434721/1384647161542737990/image.png?ex=690c6b68&is=690b19e8&hm=8b5416ff3f712823d97994455fee99d4516f0c1ec9d80a1243fbfa08f339c76a&)
Archived author: Vel • Posted: 2025-06-17T21:33:28.867000+00:00
Original source
If you can tell me what configuration you put on this model
![[Image: image.png?ex=690c6b68&is=690b19e8&hm=8b5...8f339c76a&]](https://cdn.discordapp.com/attachments/1384618879082434721/1384647161542737990/image.png?ex=690c6b68&is=690b19e8&hm=8b5416ff3f712823d97994455fee99d4516f0c1ec9d80a1243fbfa08f339c76a&)
Archived author: Vel • Posted: 2025-06-17T21:33:31.624000+00:00
Original source
That would really help
![[Image: image.png?ex=690c6b7d&is=690b19fd&hm=aa3...5da56bfd7&]](https://cdn.discordapp.com/attachments/1384618879082434721/1384647248079622174/image.png?ex=690c6b7d&is=690b19fd&hm=aa3bf5ff384c7fedaa9cc0fd6c3e3e1efa844a001663c0ca0cecb8f5da56bfd7&)
Archived author: Vel • Posted: 2025-06-17T21:33:49.500000+00:00
Original source
Mine currently look like this.
![[Image: image.png?ex=690c6b7d&is=690b19fd&hm=aa3...5da56bfd7&]](https://cdn.discordapp.com/attachments/1384618879082434721/1384647248079622174/image.png?ex=690c6b7d&is=690b19fd&hm=aa3bf5ff384c7fedaa9cc0fd6c3e3e1efa844a001663c0ca0cecb8f5da56bfd7&)
Archived author: Clotic • Posted: 2025-06-17T21:39:25.176000+00:00
Original source
```
-- Function to create GameObject card
local function createGameObjectCard(card, entity, i)
local model = CreateFrame("DressUpModel", "modelGob" .. i, card)
model:SetSize(card:GetWidth() - 30, card:GetHeight() - 40)
model:SetPoint("CENTER", card, "CENTER", 0, 25)
model:SetFrameStrata("DIALOG")
model:ClearModel()
local modelPath = entity.modelName or "World\\Generic\\ActiveDoodads\\Chest02\\Chest02.mdx"
local success, err = pcall(function()
model:SetModel(modelPath)
end)
if not success then
model:SetModel("World\\Generic\\ActiveDoodads\\Chest02\\Chest02.mdx")
local errorMsg = model:CreateFontString(nil, "OVERLAY")
errorMsg:SetFontObject("GameFontNormalLarge")
errorMsg:SetPoint("CENTER")
errorMsg:SetText("ERROR")
errorMsg:SetTextColor(1, 0, 0, 1)
end
model:SetRotation(math.rad(30))
card.nameText:SetText(entity.name)
card.entityText:SetText("GameObject ID: " .. entity.entry)
card.additionalText:SetText("Display ID: " .. entity.displayid)
card:SetScript("OnMouseUp", function(self, button)
if button == "RightButton" then
showContextMenu(MENU_CONFIG.TYPES.GAMEOBJECT, card, entity)
end
end)
addMagnifierIcon(card, entity, i, "GameObject")
end
```
Archived author: Clotic • Posted: 2025-06-17T21:39:32.372000+00:00
Original source
should be i.
Archived author: Vel • Posted: 2025-06-17T21:40:10.300000+00:00
Original source
Ohhh.
Archived author: Vel • Posted: 2025-06-17T21:40:18.100000+00:00
Original source
So you actually use creature model.
Archived author: Clotic • Posted: 2025-06-17T21:40:30.351000+00:00
Original source
Yeah
Archived author: Clotic • Posted: 2025-06-17T21:41:03.770000+00:00
Original source
i think i did your way and i had same issue
Archived author: Clotic • Posted: 2025-06-17T21:41:10.728000+00:00
Original source
was a while ago