Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

Lumber Tycoon 2 Drag System?

Asked by 8 years ago

ok you know how they have that drag wood thing in Lumber tycoon 2 is there anything like that? I try look but no hope there wasnt anything about it and the ones that did was broken or was for every brick in the world.

1
I hate to be the one to tell you this however, if you want people on this website to help you out you need to have an attempt on coding it because, this website is not a request site it's just a website where you get help on your code and sadly, I don't see any here. I am sorry if I sound like an "ass" however, that's the fact and at least I am telling you the truth rather then just moderating it. KingLoneCat 2642 — 8y
1
King,please watch the swearing. Un-needed. :P Reshiram110 147 — 8y
0
The basic concept is to instantiate a very small Part with a BodyPosition and BodyGyro inside of it, and weld whatever object is being dragged to this new part. Then, it's a simple matter of manipulating the BodyPosition's Position and the BodyGyro's CFrame properties to move the part where you want (i.e. at the player's position, offset by the direction the mouse is pointed). nicemike40 486 — 8y

1 answer

Log in to vote
0
Answered by 4 years ago

have you not looked this up? There has already been a person answering this! Look before you post. https://devforum.roblox.com/t/dragging-objects-with-the-mouse/403766

0
BFIofficer9901 asked this question five years ago, the post you linked is barely 2 years old.. Maybe take your own advice? noobnoobhi 0 — 3y
Ad

Answer this question