Is it possible to create a weld that does not break upon the character dying?
For example, I have a custom character model in which the eyes are welded to the head. When the character dies, I do not want the eyes to detach from the head.
Is it possible to create a weld that does not break upon the character dying?
For example, I have a custom character model in which the eyes are welded to the head. When the character dies, I do not want the eyes to detach from the head.
You can use HingeConstraints with Min/Max angle set to 0 to get something similar, but note that:
I would recommend doing something like:
onPlayerDied():
setStateEnabled("Dead", false)
reweld()
Reweld can be as simple as character:MakeJoints()
if you only use the default character joint system (i.e. jointNameRigAttachment in Part0, jointNameRigAttachment in Part1), but if you use welds and not attachments for anything, you’ll need to manually re-weld those components.