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

How would I turn this? {Un - Answered}

Asked by 9 years ago

I have a Jet and i made a script and put in there so it looks like its flying but its actually running CFrames really fast, but then when i play it flies sideways, its a mesh Jet by the way and it has a invisible block in it that i cant ungroup from the jet or move without moving the jet. How would i make it so the jet flies straight?

while true do

for i = 1000, -1000, -20 do

    workspace.p.CFrame = CFrame.new(Vector3.new(i, 20, 0))


    wait(.001)



end

    end

0
You need to base the new cframe off of the lookvector of the part. GoldenPhysics 474 — 9y
0
How do i do that? QuantumScripter 48 — 9y
0
Actually, which side of the aircraft is forward? X axis, or Z? GoldenPhysics 474 — 9y
0
x QuantumScripter 48 — 9y
View all comments (3 more)
0
Is that the orientation of every part in the aircraft? Or, more specifically, the part you use to move it? GoldenPhysics 474 — 9y
0
the part QuantumScripter 48 — 9y
0
I found a way but i can't get it completely straight.. QuantumScripter 48 — 9y

Answer this question