Texture position lags behind cursor
Hey,
I've been using the StarCursor addon but I noticed the texture lags behind the cursor when moving the mouse. I'd rather it fix to the cursor position. Here is the code for the addon: Lua Code:
I've tried playing with SetPoint but haven't been able to figure it out. EDIT: Ok so I've figured out the issue seems to be framerate, if I lock my frames the texture stays on the cursor as intended, if I uncap the framerate the texture will begin to lag behind the cursor. I'm going to assume this has something to do with how updating the position works and isn't something you can change via the addon? But I'll leave this up in case someone knows how this works. |
Try this and see if it helps:
Code:
local frame = CreateFrame("Frame", nil, UIParent); |
This is basically the difference between hardware and software cursor settings in many games. Anything rendered by the game is always going to have significant latency added on top of what the OS is doing.
|
All times are GMT -6. The time now is 08:06 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI