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

Is there an easy method to curve a model's parts around a fraction of a circumference?

Asked by 10 years ago

What I can do, is assign the parts to an individual marker parts already summoned to the circumference, but the circle is then distorted into a parabola.

w=workspace.Pa2 
for _,v in pairs(p=workspace.Pa1:GetChildren()) do
r=CFrame.new(Vector3.new(w[v.Name].Position.X,v.Position.Y,w[v.Name].Position.Z)) 
v.Rotation=Vector3.new(w[v.Name].Rotation.X,0,w[v.Name].Rotation.Z) v.CFrame=r 
end 

It seems using spatial sense will not get me far. I can do the inverse of that, which will return a nicer looking, more tangible parabola - in which I can plausibly iterate. I'm essentially looking for the outline of a pringle.

However, I'm thinking there is a far more effective method to do this. Any feedback is appreciated.

Thanks for reading.

Answer this question