angle question.....


07-30-2003, 11:42 PM
ok, so im trying to make a 90 degree angle. i dont want to use 45 45, but 22.5 22.5 22.5 22.5. this might be simple to alot of u... but ive never done this before...

07-30-2003, 11:51 PM
i dont know if that made sense to ne of u... but think of the difference of a V to a U i want the U

07-31-2003, 12:27 AM
okay.. well if u know geometry, the slope 1 or 1/1 is 45 degrees. the slope 2/1 is half the 45 degrees. simple use the 2/1 slope and ull be on ur way, for more curve like looks, try 4/1, 2/1, 1/1 and so on.

07-31-2003, 01:27 AM
this all would be so simple without all the other stuff. basically, I a tank track going down a muddy wet road, with some water at the bottem. I just cant get it all to quite fit, any way i do it (exept for the 45 45 which looks very ugly because it sapose to be tank tracks, and tanks dont jump and turn at perfect 90s). ill think more on it tomarrow. thx for the help azn.

07-31-2003, 01:53 AM
i did wat u were tryin to do before. i had a truck prefab, turned it into a tracktrain, it ran in a S type road, ran pretty smooth, the roads were 15 degreeturns, which worked pretty well..

07-31-2003, 02:01 AM
no, its not a movin thing, the mud road has tank tracks smushed into it. and did you release the other map your talkin bout?

07-31-2003, 12:09 PM
ok, basic geometry.

(A*A)+(B*B)=(C*C)

Sin= opposite/hypotonouse
Cos= adjacent/hypotonouse
Tan= opposite/adjacent

use these and you can get the the angle right. how? example

i have a slope 64 units igh, but 256 long, a 1down 4 across relation. I want to know the angle that the slope drops. This mean I'll need the top corner. seeing as we have 2 sides but not the hypot. we will use tan. in this case the adjacent is the height, and the oposite is the length. so we will plug that in.

Tan(X)=256/64
Tan(X)=4/1
X=Tan^-1(0.25)
X=14.03624347 degre angle.


NOTE: DONT GIVE A CRAP ABOUT GETTING EVEN ANGLES! the angle being 22.5 does nothing for an engine except make it EXTREMLY hard to get the vertecies on a grid point. as far as angles are consered in mapping they only have 2 uses, pointing an entity and rotating textures.

What si the most importaant for mapping is getting it on base change like 1/4 or 2/3

07-31-2003, 12:18 PM
noooooooooooooooooooooooo! AB, geometry always gave me nightmares, especially the trig functions... I get shivers looking at the sin, cosine, tangents :/

07-31-2003, 12:20 PM
lol, if you need any of that stuff doing just PM me then. I'm really handy with the stuff. in class I kept on figuring out how to do the next unit before we were taught it.

07-31-2003, 03:18 PM
Originally posted by azncoolteen
noooooooooooooooooooooooo! AB, geometry always gave me nightmares, especially the trig functions... I get shivers looking at the sin, cosine, tangents :/

lol but its so easy. you just look at a chart or better, a good calculator. im just not good computation lol. what grade are you in azn, i thought you are younger then me...

07-31-2003, 03:27 PM
im in the 8th grade, takin advanced math :p

07-31-2003, 11:54 PM
yeah thx guys. I finally finneshed it, but the grid didnt go far enough lol. youll see what i mean whe ni release it.

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.