WeldContraint Producing unexpected results

I am trying to weld a glass window to a door, yet it stays put as if anchored (which it isn’t), and does not move with the door.

Here is the door:

Here is the door in the opened position:
image

Here is the door in motion:
image

Here is the weld constraint for both door wings:
image
image

The “Glass” object is not anchored,
The “Frame” object is anchored.

I have tried various solutions, such as:

  • Attempting to use qPerfectionWeld
  • Trying a variety of anchor combinations (Frame unanchored, Glass anchored, etc)
  • I have even added a delay to the initial opening of the door when the server starts:
    image

Yet to no avail, none of those ‘solutions’ have worked.

Your help would be greatly appreciated.
Please keep in mind that my primary field is Scripting and UI, thus I have limited experience in the field of modelling as well as welding etc.

1 Like

I would suggest using Welds instead of WeldConstraints since Welds are more secure.

Are you using TweenService to open the doors? There’s sometimes issues with tweening positions and welds

I’m pretty sure a unachored object that is welded to a anchored object doesn’t move with it

I don’t know if this’ll work, but personally I would set the frame as part 0 and the glass as part1.

If the frame is anchored and the glass is not, when tweening the frame they should both move together.

Could you show the script that tweens the door? Maybe I could help more.

If you’re using position, you should probably use CFrame instead maybe that’s the problem.

Whilst I appreciate all of your attempted solutions, I’ve done some digging myself and just found a plugin that welds it for me.

Thank you for your responses and support.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.