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.
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.
ᵗʰᵉᵇˢᵍ๒ᵍᵐᵃᶥᶫ∙ᶜᵒᵐ
ᴸᶥᵛᵉ ᴼᵑ ᴬᵈᵃᵐ
ᴸᶥᵛᵉ ᴼᵑ ᴬᵈᵃᵐ