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

Question ! , how do you make a model rotate on it's side ?

Asked by 4 years ago
Edited 4 years ago

I want to make a fan that are 8 blades that are grouped together into a model , I already know that you should use :SetPrimaryPartCFrame() to a invisible primary part , and did while do true() to make it loop forever . but i don't really know what next i should do ? , Im pretty confused on this part , if anybody could give me an example or explain it to make then i'd appreciate it

PS : The Fan is moving endlessly, Script the i have wrotten :

Fan = script.Parent
while true do
    wait()
    Fan:SetPrimaryPartCFrame()(Fan:GetPrimaryPartCFrame())
end


0
Fan:SetPrimaryPartCFrame(script.Parent.CFrame*CFrame.fromEulerAnglesXYZ(0,0.1,0)) tracer_r 19 — 4y
0
Thanks ! tracer_r , make a post so i can make it correct Redyblazeyy 31 — 4y
0
sorry, im dont understand. I have bad english, and im login here only 30min tracer_r 19 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

Use this

Fan:SetPrimaryPartCFrame(script.Parent.CFrame*CFrame.fromEulerAnglesXYZ(0,0.1,0))
Ad

Answer this question