yeah i have integrated the code in my own addon but the bug still exists in the current starfallcursor addon.
the cursor position is not the problem as far as i know.
i looked into it and the position allways seems to be a number.
its just that the behaviour is so strange that i dont see the pattern yet.
for example the result from this line is still nan(ind):
if (speed<0 and speed>0) then speed=0; print("reset:",speed); end
but this works
if (speed<0 and speed>0) then speed=1; print("reset:",speed); end
Last edited by biokiwi : 11-20-20 at 02:23 AM.
Reason: add example
|