of     1   

Riderj
#63673830Thursday, March 01, 2012 10:50 PM GMT

I'm not too sure how to do this. [[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]]
[rfa#hidefromsearch]
#63674787Thursday, March 01, 2012 11:05 PM GMT

[rfa#hidefromsearch]
DrAgonmoray
#63674957Thursday, March 01, 2012 11:08 PM GMT

Google "Bézier curves"
Riderj
#63674967Thursday, March 01, 2012 11:09 PM GMT

I need it, derp? [[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]]
[rfa#hidefromsearch]
#63675083Thursday, March 01, 2012 11:10 PM GMT

[rfa#hidefromsearch]
Riderj
#63675135Thursday, March 01, 2012 11:11 PM GMT

That is some complicated math, would it be best just to manually CFrame the parts? [[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]]
[rfa#hidefromsearch]
#63675161Thursday, March 01, 2012 11:11 PM GMT

[rfa#hidefromsearch]
kools
#63675194Thursday, March 01, 2012 11:12 PM GMT

Do you want the arches to be curved as a half-circle or a more oval-curved one?
Riderj
#63675252Thursday, March 01, 2012 11:13 PM GMT

Well I do not comprehend that formula. I will search on the wiki but I do not think I will have any luck. Though It never hurts to try, I do know there is a lot of formulas in the terrain generations. [[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]]
Riderj
#63675292Thursday, March 01, 2012 11:14 PM GMT

A Curve between point A and B, no matter how far apart they are the curve will fit it(If the parts are the right size ETC.) [[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]]
Riderj
#63675675Thursday, March 01, 2012 11:21 PM GMT

Will linear interpolation work? [[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]]
DrAgonmoray
#63675769Thursday, March 01, 2012 11:23 PM GMT

"Will linear interpolation work?" That'll give you a straight line between 2 points.
Riderj
#63676190Thursday, March 01, 2012 11:29 PM GMT

Just realized that, Guess I will have to make sense of that formula. Thanks for helping, Wish me luck. [[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]]
moustachauve
#63676304Thursday, March 01, 2012 11:31 PM GMT

You can maybe use a quadratic equation to do that?
AgentFirefox
Top 100 Poster
#63676373Thursday, March 01, 2012 11:32 PM GMT

I've got a small formula for circles on planes XY, XZ, or YZ. I'm still not sure of a formula for circles on ANY plane.
Riderj
#63676686Thursday, March 01, 2012 11:36 PM GMT

Why does coding have to be so complicated -.- [[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]]
DrAgonmoray
#63676830Thursday, March 01, 2012 11:39 PM GMT

"Why does coding have to be so complicated -.-" It's not even coding that's the issue here-- more so the math and logic behind it.
Riderj
#63677106Thursday, March 01, 2012 11:44 PM GMT

It is also the coding, I have been doing it for about 4 years on roblox, but I have not gotten anywhere yet. I have had barely any success. Though I will keep trying. [[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]]
moustachauve
#63677305Thursday, March 01, 2012 11:48 PM GMT

Try to adapt the quadratic function to make block show it. I think this form could be useable : y= a(x1+x)(x2+x)
Riderj
#63677361Thursday, March 01, 2012 11:49 PM GMT

Will try it, Most of these formulas do not make sense since I am only in Algebra one :S [[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]]
swimguy777
#63677664Thursday, March 01, 2012 11:54 PM GMT

I made one. It doesn't make a perfect semi-circle arc if they Y values are different, but it's still pretty neat. function drawArc(p1,p2) local radius = (p1-p2).magnitude/2 for i = 1,180 do local fraction = i/180 p = Instance.new("Part",workspace) p.formFactor = "Custom" p.Size = Vector3.new(1,1,1) p.Anchored = true p.CFrame = CFrame.new(p1:Lerp(p2,fraction)+Vector3.new(0,math.sin(math.rad(i))*radius,0),p1:Lerp(p2,.5)) end end drawArc(Vector3.new(0,0,0),Vector3.new(10,0,10)) -[::ƧѡÎḾḠΰῩ::]-[::Maker of stuff and Helper of Scripting::]-
Riderj
#63677976Friday, March 02, 2012 12:00 AM GMT

@ Swim Thank you, That worked well enough. Just need to work on editing it so it works with my script. [[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]]
Riderj
#63679090Friday, March 02, 2012 12:22 AM GMT

Eh your right, it is not a clean arch if the Y is changed... Darn. [[ 7/10 - Scripting| 4/10 - Building | 10/10 - Confused ]]

    of     1