Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I'm having trouble keeping my model attached to the car, it falls off. Why?

Asked by 6 years ago
Edited 6 years ago

Hi, I am having trouble keeping my model on the car. I have to have a un-anchor script in my car for it to be able to move, when it un-anchors the camera, it just falls off while everything else is still attached together but unanchored so it can move.

Any help?

Picture: http://gyazo.com/bf8bbffad0df40903d0694c076115663

Camera models name: "SpeedOCamera"

Unanchor script:

wait(5)
function unanchor (m)
    for _,i in pairs (m:GetChildren()) do
        if i:IsA("BasePart") then
            i:MakeJoints()
            i.Anchored = false
        else
            unanchor(i)
        end
    end
end
unanchor(script.Parent)
0
You're looking to weld the parts together. You can use SurfaceTypes, contraints or the common method of writing a weld script. Search roblox welds for the wiki page, which is in my opinion one of the easy ones to understand. xPolarium 1388 — 6y

Answer this question