#Aircraft Carrier Launch system

1 messages · Page 1 of 1 (latest)

spice crest
#

i wanna make an aircraft Carrier Lauch system where yo weld a certain part of a plane onto the catapult and then you launch, i got the welding part down but i have no idea how the launching part would work, can anyone help me

This is what ive got so far: ```local Catapult = script.Parent.Catch

Catapult.Touched:Connect(function(hit)
if hit:IsA("BasePart") then
print("Touched:", hit.Name)

    if hit.Name == "catbar" then
        -- Ensure it's not anchored
        

        local weld = Instance.new("WeldConstraint")
        weld.Name = "CatbarWeld"
        weld.Part0 = Catapult
        weld.Part1 = hit
        weld.Parent = Catapult

        print("WeldConstraint successfully created!")
    end
end

end)

ornate crypt
#

When the plane is ready to launch, via a proximity prompt or some button. Destroy the weld then apply the AssemblyLinearVelocity of the plane to a high of a speed as you can in the direction of the CFrame.lookVector

spice crest
#

OK

ornate crypt
#

Mind you the AssemblyLinearVelocity is a Vector3

hexed wren
spice crest
hexed wren