Add some offset of the part’s position relative to the torso. Usually you want to have the offset based on the Torso
's LookVector
on CFrame. It can’t be much difficult than that. Then you weld after positioning, not before.
How do i have the offset based on the torsos lookvector though
Use Torso.Position
and add Torso.CFrame.LookVector
(multiplied by distance).
Oops, Torso.CFrame
is a CFrame
, not Vector3
. Use Torso.Position
or Torso.CFrame.Position
, which are virtually the same.
No, not exactly. Use something like:
target.Position = Torso.Position + (Torso.CFrame.LookVector * 0.5)
Change 0.5
to any number in offset.
For orientation, just copy the torso’s orientation over to target
.
for the most part it probably worked but the weld still messes up the position and creates the same situation as in the gif
Actually, use a WeldConstraint instead. I think the old weld requires you to set an offset on C0
and C1
, which is somewhat more tedious.
thank you so much for the help