WILDjake4Join Date: 2012-03-02 Post Count: 176 |
Any idea on how to weld 2 meshparts together inside a tool? I am trying to create a pistol but it requires 2 meshparts to create the whole gun, any help?
i ask everyone for help on a daily basis |
|
WILDjake4Join Date: 2012-03-02 Post Count: 176 |
bump
i ask everyone for help on a daily basis |
|
IceladenJoin Date: 2009-02-08 Post Count: 6177 |
use a weld script lol
|
|
WrathsongJoin Date: 2012-07-05 Post Count: 22393 |
I use qPerfectionWeld
|
|
|
anphu04Join Date: 2010-01-15 Post Count: 100 |
Use a weld script, here's an example:
--Simply put it inside any model with bricks inside
local prev
local parts = script.Parent:GetChildren()
for i = 1,#parts do
if (parts[i].className == "Part") then
if (prev ~= nil)then
local weld = Instance.new("Weld")
weld.Part0 = prev
weld.Part1 = parts[i]
weld.C0 = prev.CFrame:inverse()
weld.C1 = parts[i].CFrame:inverse()
weld.Parent = prev
end
prev = parts[i]
end
end |
|
anphu04Join Date: 2010-01-15 Post Count: 100 |
Hold on, change the if part.className == "Part" into if part.className == "BasePart" |
|
WILDjake4Join Date: 2012-03-02 Post Count: 176 |
bump
i ask everyone for help on a daily basis |
|
WILDjake4Join Date: 2012-03-02 Post Count: 176 |
It's a MESHpart, that script doesn't work, at least for me.
i ask everyone for help on a daily basis |
|
|
Dude just use a plugin, its even more effective. |
|
WILDjake4Join Date: 2012-03-02 Post Count: 176 |
this is what happens when I equip my gun ####### ###################### i ask everyone for help on a daily basis |
|
WILDjake4Join Date: 2012-03-02 Post Count: 176 |
ugh
the gun is not in my hands, and it is in another area, my body is upside down holding the air
i ask everyone for help on a daily basis |
|
WILDjake4Join Date: 2012-03-02 Post Count: 176 |
unanchored the tool and now it's just floating in the air, I can walk around though
i ask everyone for help on a daily basis |
|
WILDjake4Join Date: 2012-03-02 Post Count: 176 |
bump
i ask everyone for help on a daily basis |
|