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

Is there a better way to do this weld?

Asked by
JzRH 0
8 years ago

The issue in general is that the weld relies on CFrame positioning which is time consuming for me. Is it possible to just weld it to the air so to speak?

local weld_b = Instance.new("Weld")
        weld_b.Parent = plyr.Character.Torso
        weld_b.Part0 = plyr.Character.Torso
        weld_b.Part1 = plyr.Character.AngleLeft1
        weld_b.C1 = CFrame.fromEulerAnglesXYZ(0, 15, -75) * CFrame.new(0,0,2.5)
0
What exactly do you want it to look like? We need more context. XAXA 1569 — 8y
1
Its a Particle Emitter, I need it to stay in the position I placed it, C Frame does do that, but piece by piece, - As to what it will look like, it will attach to solid wings that will be visible along with it, the particles will head in one direction, yet the issue is that with this weld, they are in several unless I find the right C Frame position, massively time consuming considering the amount JzRH 0 — 8y
0
of parts* JzRH 0 — 8y
0
So you're trying to weld many parts onto the player's torso? XAXA 1569 — 8y
View all comments (4 more)
1
Yes and no, not directly to the torso, but via the torso, I want the part which doesn't collide, to be in the air, that Is why my friend recommended I use a CFrame, but in terms of time, it is inefficient. JzRH 0 — 8y
0
I see. Is it not possible to union these parts? XAXA 1569 — 8y
0
heh I don't know how to union weld, I'm guessing I swap part for UnionOperation? or something along those lines. JzRH 0 — 8y
0
That and I don't think multiple Particle Emitters in different places will work with one union? JzRH 0 — 8y

1 answer

Log in to vote
0
Answered by
guiraz 25
8 years ago

use weld_b.C0 = weld_b.Part0.CFrame:inverse()

Ad

Answer this question