[DiscordArchive] It's like Titans manually clear parts of your character memory?
[DiscordArchive] It's like Titans manually clear parts of your character memory?
Archived author: . • Posted: 2023-10-14T16:44:22.729000+00:00
Original source
Could try rotating the line in photoshop
Archived author: Rymercyble • Posted: 2023-10-14T16:49:15.271000+00:00
Original source
thats just unreasonable amount of work i would need tens if not hundreds of individual angles otherwise it wouldnt align
Archived author: M'Dic • Posted: 2023-10-14T16:51:21.735000+00:00
Original source
Then u got screen res to consider if it stretches out in a weird way
Archived author: Rymercyble • Posted: 2023-10-14T16:52:38.531000+00:00
Original source
i could make custom texture which would be just solid square and take it from that then angle wouldnt matter
Archived author: robinsch • Posted: 2023-10-14T16:53:47.127000+00:00
Original source
would rather check what the difference between your texture and rotatable textures
Archived author: Rymercyble • Posted: 2023-10-14T16:56:44.354000+00:00
Original source
i dont rly know what "rotatable texture" is this is just default blizz texture for talent link so its just vertical line there are also corners but thats useless for my use case
Archived author: robinsch • Posted: 2023-10-14T16:57:27.946000+00:00
Original source
Then you should be able to rotate it.
Archived author: Rymercyble • Posted: 2023-10-14T17:01:13.857000+00:00
Original source
but how ? i got this
```lua
local link = data.frame:CreateTexture(nil, "BACKGROUND")
local dx = MellianTalentPositions[data.link].x - data.x
local dy = MellianTalentPositions[data.link].y - data.y
local distance = math.sqrt(dx ^ 2 + dy ^ 2)
local angle = math.atan2(dy, dx)
link:SetTexture("Interface\\TalentFrame\\UI-TalentBranches")
link:SetPoint("CENTER", treeFrame, "BOTTOMLEFT", data.x, data.y)
link:SetSize(10, distance)
link:SetTexCoord(0.0390625, 0.0859375, 0, 0.5)
link:SetRotate(angle)
```
but as soon as i apply rotation it breaks i cant shot it right know but it starts to take other textures from that blp and becomes dashed if that makes sense
Archived author: Foe • Posted: 2023-10-14T17:02:25.844000+00:00
Original source
You have to use SetTexCoord properly if you want to ue rotation
Archived author: robinsch • Posted: 2023-10-14T17:03:00.512000+00:00
Original source
Yeah SetRotate does nothing more than swapping text coords