So I am currently trying to weld one part to another, I tried using a weld but it didn’t work that great so now I am trying to use weld constraints and set the position before creating the constraint, but it is not working at all.
The rig’s humanoidrootpart position (Vector 3): -38.722, 3.196, 121.501
The part’s position (Vector 3): -36.47, 3.847, 121.53
The difference (Vector 3): -2.252, -7.043, -0.029
In your code, you are calculating the position of the bomb incorrectly. The position of the bomb should be the position of the other part plus the difference between the two positions. Try changing this line:
This should correctly position the bomb. Additionally, if you want to weld the bomb to the other part using weld constraints, you also need to set the C0 property of the weld to align the two parts correctly. Here’s an example of how you could set the C0 property: