Rotate Camera,Entities in THN
-
yes ;D there should be a value in the THN somewere that says “orient”… thats what you rotate if i remember rightly… its been a while since i played with THN’s hehe… If your still around next 2 hours m8… goto Xfire… i’ll send u the Tutorial
-
yes, orient ,
orient={
{
1,
0,
0
},
{
0,
1,
0
},
{
0,
0,
1
}but there are three values each “chapter”
those 1 are the scales
this means all three values have to be same otherwise the scale goes wrong and the model/camera gets stretched
but i don’t know what those values are good for -
I believe this is a rotation matrix, but I’m not too familiar with how Freelancer goes between its INI-based rotation (x,y,z) to a rotation matrix. You’d have to ask a programmer or a mathematician
-
I believe this is a rotation matrix, but I’m not too familiar with how Freelancer goes between its INI-based rotation (x,y,z) to a rotation matrix. You’d have to ask a programmer or a mathematician
You are the Best
I made it, well and i’m not a programmer or a mathematician
click on me for Wiki entry (english)Rotation in X-Axis
Rotation in Y-Axis
1 –----- 2 -------- 3
Rotation in Z-Axis
now this works like this, most calculators do have the SIN or COS button, some still might know from school how this works
i have used a rotation angle of 340° this means,
the Cosinus of 340°=0.93969
the Sinus of 340°= -0.342020
the Negative Sinus = 0.342020and all this looks like this now
Yellow Numbers 1-3 not in the code actually (only markers here)
orient={
{
0.93969,
0, 1
0.34202
},
{
0,
1, Â 2
0
},
{
-0.34202,
0, Â 3
0.93969
}
},and this is the Result - Before and After
testmodel, don’t notice the lack of Quality ;DProblem solved, next task how to affect all axis at once, like the camera,-
-
THN Rotation Matrix Calculator
i have uploaded a EXCEL file wehre you can let the programm calculate the
values,-
it was made on a german version, i hope it also works international (the calculations)
-
make sure that your dezimal seperator is set to Point , not comma
-
further details in the readme and on the EXCEL fiel itself , have fun
http://the-starport.net/index.php?option=com_docman&task=cat_view&gid=23&Itemid=43
-
-
Confirmed working fine on Excel 2007 (En-US)
-
Here you go.
-
Both of download link is not work, but i found this: http://toolserver.org/~dschwen/tools/rotationmatrix.html hope it helps, at least it’s helped me.