Hey everyone!
I recently have created a model that is supposed to stick with the character wherever they go.
It is held together with welds:
The problem is, when I play the game, the parts get all messed up:
I’m using this localscript to set the orientation the root part of the model how I want:
I realize that welds might not be the best solution. So what should I do?
How do I fix this problem?
2 Likes
I always use WeldConstraint
s to hold my model together instead of Weld
s. You could try that.
PSA: This seems to be a bit unrelated to scripting, next time #help-and-feedback:building-support would be a better pick for topics like this.
I actually already tried WeldConstraints first before trying welds. No dice. Sorry about that, I figured that the problem has something to do with the way I’m moving the model using my script, not the welds themselves.
Could you try using .CFrame
instead of .Orientation
?
Extinguisher.Handle.CFrame = Extinguisher.Handle.CFrame * CFrame.fromOrientation(character.HumanoidRootPart.Orientation.X, character.HumanoidRootPart.Orientation.Y, character.HumanoidRootPart.Orientation.Z)
1 Like
Nvm! I finally found the problem! The root part I was using was not covering the entirety of the model.
For some reason you seem to be required to make your rootpart be around every part in your model.
Sort of strange, since it shouldn’t matter as long as the parts are all welded.
2 Likes