#How do i get this sign to fold wile on the car?

1 messages · Page 1 of 1 (latest)

halcyon garnet
#

i have made a sign model for my car that i have built and it fold down as it suppose to but when i put it onto the car the click function is still there but it wont fold down.

worldly haven
#

so you're clickDetector is not working properly? have you ever try debugging it like printing it process by process.

and honestly i don't recommend using cframe to move the model if you going to weld it on the car that actually move by force. CFrame is to move the whole object connected to it, by welding it that car is also connect to it, means it can also move the car whole.

halcyon garnet
worldly haven
#

since your click detector is working, the faulty maybe came from your weld.

since you just teleporting the sign model using cframe, why not just change the weld CFrame that way you're script and the weld don't clash it each other.

worldly haven
#
local cd = Instance.new("ClickDetector", script.Parent)
local sign = script.Parent.sign
local weld = sign.ManualWeld

cd.MouseClick:Connect(function()
    if weld.C1 == CFrame.new(Vector3.new(0,-2,0)) then
        weld.C1 = CFrame.new(Vector3.zero)
    else
        weld.C1 = CFrame.new(Vector3.new(0,-2,0))
    end
end)
#

like this

halcyon garnet
worldly haven
#

if you want I can give you the jeep with sign, the model I mean, so you have reference, im going to delete it too anyway.

ionic shuttle
#

meik sur dat es nott andkored

halcyon garnet