Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsDiscussion Forum → A simple, but elaborate math problem
A simple, but elaborate math problem
2006-01-26, 8:51 PM #1
So I'm making a bridge for my CTF map, right? I made 1 portion of the bridge, and am going to use an algorythm called "radial" to make the "arch" of the bridge.

I need to do quite a bit of math to get it to work properly, though. Here's where you come in.

I have a rectangular piece at the moment that is 12 units wide, and 7 units tall. These numbers must stay the same. I need to rotate the vertices of the two 7 units long sides so that they point towards the center point of the grid.

The center point of the grid determines the radius, or distance you put the square model from the center.

The distance you put it away from the centerpoint determines how many of this square piece can go around the model.

The way the radial program works is that you tell it how many of the current model you want to be along the radial. You also tell it how many degrees of a circle around the center to put these # of the original model. So say you put 45 degrees and 30 models, and you're 10 units away from the center. 45 degrees of a circle suddenly have 30 12x7 models arching around. It radiates using the center point of the model as it's location for the 'circle's' cercomference. Problem is, they're all overlapping.

I need to find the sweet angle of the edges of the 12x7, the perfect radius, and the best angle between 20 and 40 degrees that 30 of these 12x7 pieces will line up, edge to edge.

If you need any more info, ask.
ᵗʰᵉᵇˢᵍ๒ᵍᵐᵃᶥᶫ∙ᶜᵒᵐ
ᴸᶥᵛᵉ ᴼᵑ ᴬᵈᵃᵐ
2006-01-26, 8:58 PM #2
I don't understand the problem. A diagram would help me understand.
"it is time to get a credit card to complete my financial independance" — Tibby, Aug. 2009
2006-01-26, 9:43 PM #3
I think I understand it... that's a huge freakin' bridge! I hope by "units" you didn't mean JKUs. A minute more and I'll have the basic math down; unfortunately I don't think it's going to be very cleave-tool-friendly (a.k.a. you're better off using "Get Bent")

EDIT: Okay, you're going to have to fix one of your variables. Either that or just figure out which you would rather have be a nice round number: the radius, the angle, or the distance the lower corners of the 7x12 have to move in.

Anyways, you can have a radius anywhere from about 515 units to 1030 units. 515 gives you the 40 degree curve and 1030 gives you the 20 degree curve.
Stuff
2006-01-26, 10:09 PM #4
Just ask Vin Deasel.

I would try to help honestly, but I don't quite understand the problem :(
This signature agrees with the previously posted signatures. To violate previously posted signatures is a violation of the EULA for this signature and you will be subject to unruly behavior.

↑ Up to the top!