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

help with rotation?

Asked by
Prioxis 673 Moderation Voter
10 years ago

So I made this Plane and I put a script inside the propellars that make them spin but when I do play mode this happens

any idea?

here's the rotation script

while wait(0.1) do
    script.Parent.Rotation = script.Parent.Rotation +Vector3.new(10, 0, 0)
end

1 answer

Log in to vote
0
Answered by 10 years ago

Try this.

while wait(0.1) do
    script.Parent.CFrame = CFrame.Angles(math.rad(10),0,0)
end

Hope it works.

0
it causes the plane to bug out Prioxis 673 — 10y
0
Wait, what do you want the plane to do? EzraNehemiah_TF2 3552 — 10y
Ad

Answer this question