EDIT: The addon is available here: https://www.curseforge.com/wow/addon...d-model-viewer
Hello everyone, I'm new and I need your help to make my first addon because I'm a noob
I would like to make an addon that shows the 3d model of the selected target (Players, NPCs, creatures, etc).
I need to make a button near the target portrait frame, it appears when I select a target and disapear when I unselect it. Then once I click the button there's the 3d model of the target that appears in the middle of the screen with no background and I can rotate it and make zooms with the mouse middle button. Then to close the view on the target 3d model I just need to press the portrait button again.
Would you please share with me some of your knowledge and feed me with basic code so I can realize this project. Thanks a lot.
Also, is this possible to do this with a macro?