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

Can someone basically explain welding to me?

Asked by 9 years ago

I'm working on a gun prototype for my new game, I notice on other people's weapons they have scripts involving welds. I was wondering if this affects the position of the gun and if someone could explain to me how they work. Thank you(:

0
They allow the gun to be unanchored and stay together in one piece NovusTheory 133 — 9y
0
Ohhh, I understand. Thanks! frogfriend99 10 — 9y

2 answers

Log in to vote
0
Answered by 9 years ago

Yes, a Weld needs a script to punch in a few values to it. Two of those values are references to the two parts being welded, so it knows which parts to weld. The other two values it needs are the positions of the same two parts (relative to each other?). Then a weld will make sure that the position of those two parts, relative to each other, will never change.

Ad
Log in to vote
0
Answered by 9 years ago

Use this: http://www.roblox.com/Weld-Plugin-item?id=148570182

Just select the parts you want welded and it welds them!

Answer this question