Well, I did try sending an empty primitive but the client still suffered from an FPS drop. I'll try sending a point at predetermined coordinates next.
Any idea how to make it so that the circle moves with the character without clearing the existing lines and sending them all over again at different coordinates?
Like, is there a way to basically link the said packet to player's coordinates so that no matter where the character goes, the circle goes with it and the char is always in the middle of the circle (from top-down perspective).
I realise this might be a silly question but I'm still new to this kind of stuff, so... here we go. 😄
What would happen if I simply send another packet with the same name but with different coordinates without clearing the lines of the previous one? Would the old one be replaced?
//debug_center: the assigned name of the packet
//clearDebugPackets: clears all lines and points associated with the packet and sends an empty packet with the same name
//reset(): clears the cached packet server side;
debug_center = activeChar.getDebugPacket("center");