Though some parts took some thinking to understand, I don’t think anyone could’ve explained this topic better. Thanks a lot!
Have you managed to update it?
dragging doesnt work after dragging once…
For anybody wondering, I’m pretty sure you can set the mouse’s TargetFilter to the part if you don’t want it clipping into the ground
Ok, I’ve learned specifically why this lag is happening (better dragging version.) In the hitchanged function in mousemodule, the runservice.renderstepped function is never disconnected, and it isn’t GC’ed. This is the reason why it gets incredibly laggy. Does anyone have any idea on how to fix this?
Thx for this I might make a game out of this idea and will credit you
memory leak go brrrrrrrrrrrr
I could somewhat use this trick to rotate a part. Thank you!
Bumping for this. I’m also having some issues with the script breaking when the player dies while dragging an item.
You can add this bit of code after line 72
character = player.Character
As for the memory leak, an easy patch is just to replace the mouse variable with player:GetMouse() instead of using the mouse module
Is it fixed in the latest version? Or i just cant find the exact variable you are talking about
Does anybody know how to use the drag detectors with the settings like in this post?