Let TS calculate that for you !
Make shure that random twist is not set in world editor :
1_no_random_turn.jpg
Create a freeroam.
Place an asset on the ground (it does not matter which one, but you should better see a front or back)
and turn it while angle is locked:
2_turning.jpg
Open your file manager. Goto the scenario with your scenery asset (just sort the scenario folders by date)
Inside the scenario you'll see a folder "Scenery\". Enter it.
Serz the bin-file and open the xml with your editor, here in Notepad+++ :
3_notepad+++.jpg
You can now use the entries in the box for your matrix. Just write it from left to the right, line by line one after the other :
- Code: Select all
0.7071068
-0
0.7071068
0
0
1
0
0
-0.7071068
0
0.7071068
0
These are the first 12 values of a matrix. Below would be the position (the very last entry is always 1).
An example :
- Code: Select all
<Matrix>
<cHcRMatrix4x4>
<Element>
<e d:type="sFloat32">0.7071068</e>
<e d:type="sFloat32">-0</e>
<e d:type="sFloat32">0.7071068</e>
<e d:type="sFloat32">0</e>
<e d:type="sFloat32">0</e>
<e d:type="sFloat32">1</e>
<e d:type="sFloat32">0</e>
<e d:type="sFloat32">0</e>
<e d:type="sFloat32">-0.7071068</e>
<e d:type="sFloat32">0</e>
<e d:type="sFloat32">0.7071068</e>
<e d:type="sFloat32">0</e>
<e d:type="sFloat32">0.45</e>
<e d:type="sFloat32">3.41</e>
<e d:type="sFloat32">-5.345</e>
<e d:type="sFloat32">1</e>
</Element>
</cHcRMatrix4x4>
</Matrix>
You do not have the required permissions to view the files attached to this post.