Author Topic: angleIDs  (Read 430 times)

I dont quite know which ones are which
this is what i think it is
0 - North
1 - East
2 - South
3 - West

or am i 100% off?

You're correct. For bricks, you can use this switch to convert:

Code: [Select]
switch(%angle)
{
case 0: %rot = "1 0  0   0";
case 1: %rot = "0 0  1  90";
case 2: %rot = "0 0  1 180";
case 3: %rot = "0 0 -1  90";
}

0 is east

then it goes counter clockwise

0 is east

then it goes counter clockwise
Torque uses cartographic degree alignments, not the ones used in mathematics. 0 is north, 90 is east.

Torque uses cartographic degree alignments, not the ones used in mathematics. 0 is north, 90 is east.

Well I went by the fact that if you face east and plant a brick on the ground (besides square ones with no angle differences) the brick will have an angle ID of 0
I suppose that may not be the most reliable way to do it, but oh well