Help, i’m making a WeldConstraint trough a Mesh and a Part, but when i run the game the mesh falls down like it’s unanchored and the weld disappears, the parts are both unanchored.
It sounds like the WeldConstraint you are creating is not holding the mesh in place. There are a few things you can try to fix this issue:
- Make sure that the parts you are trying to weld are not already parented to another object. The WeldConstraint will only work if both parts are unanchored.
- Check that the orientation of the parts is correct. The WeldConstraint will only work if the parts are oriented correctly relative to each other.
- Make sure that the WeldConstraint is being created correctly. You can try creating the WeldConstraint manually in a script and printing the result to the output to see if it is being created successfully.
- Check that the WeldConstraint is not being destroyed or removed after it is created. This can cause the weld to disappear and the parts to become unanchored.
I hope this helps! If you continue to have issues, please provide more information about your setup and the steps you are taking to create the WeldConstraint.
are you doing this using a script? if so please provide it
So, this are the images of the explorer and properties,
and this is what happens
No, i tried to make with a command and it gave me the same problem, then i’ve made it with the create constraint function. This is what it’s happening
- Make sure both parts are anchored before applying the weld constraint. You can do this by selecting the part and clicking the “Anchored” checkbox in the Properties window.
- Try adjusting the weld constraint’s properties. You can do this by selecting the weld constraint and adjusting the “Part0” and “Part1” properties in the Properties window.
- If the parts are still not behaving as expected, try using a different type of constraint, such as a Motor6D constraint, to see if it produces the desired results.
This is happening with the Motor6D
I want the car body to stay welded with the brown part, but when i rub the body falls down
Hi? So, do you have any solution?
Usually, adding weldconstraints the normal way without cmds and stuff should work. If its a car, maybe comb through its chassis scripts if it has one, Adding on to @Memedealer2111, there could be some lines that destroys any welds attached to it.
So, i tried welding the body with a script.
local w = Instance.new("WeldConstraint")
local body = script.Parent.Body
local bodyMesh = body.Body
local chassis = script.Parent.Chassis
local platform = chassis.Platform
task.wait(5)
w.Parent = bodyMesh
w.Part0 = bodyMesh
w.Part1 = platform
bodyMesh.Anchored = false
print(w.Part0, w.Part1, w.Parent)
task.wait(3)
print(w.Part0, w.Part1, w.Parent)
First, i tried welding it without bodyMesh.Anchored = false
but it gave me the same problem, so i added bodyMesh.Anchored = false
(i firstly set the mesh anchored), but this happens
I’m beginning to think that the problem are the Constraint that i added to make the suspension.
Just making sure, you are trying to weld the part to the body and there is also suspension welded to the body? If so, there shouldn’t be any interference. If your car has any scripts, could you send it?
The suspension are attached to the part(platform), i want to weld the mesh(body) to the platform. No, there aren’t any scripts
After you run it, check to make sure that the weldconstraint is still there, and if it is, make sure Active
is true. If it isn’t then I don’t really know whats making it disappear