PDA

View Full Version : Couplers


BigPeter
02-29-2008, 04:05 PM
After trying to position couplers without much success due to very poor eyesight, I found that in my wagon XML I now have 4 entries , 2 for each coupler pivot point and 2 for each coupler receiving point.

Is it possible to find out what each line does and enter the coupler position manually with the correct figures.?

I have determined the 14th and 15th lines are height of coupler and distance from center.
The entry below shows other figures, but I think I twisted the coupler when trying to place the coupler in asset editor.


<FrontCouplingPivot>
<cHcRMatrix4x4>
<Element>
<e d:type="sFloat32">0.979002</e>
<e d:type="sFloat32">0.200856</e>
<e d:type="sFloat32">0.034825</e>
<e d:type="sFloat32">0.000000</e>
<e d:type="sFloat32">-0.198169</e>
<e d:type="sFloat32">0.977861</e>
<e d:type="sFloat32">-0.067214</e>
<e d:type="sFloat32">0.000000</e>
<e d:type="sFloat32">-0.047696</e>
<e d:type="sFloat32">0.058871</e>
<e d:type="sFloat32">0.997126</e>
<e d:type="sFloat32">0.000000</e>
<e d:type="sFloat32">0.059413</e>
<e d:type="sFloat32">0.784166</e>
<e d:type="sFloat32">3.368955</e>
<e d:type="sFloat32">1.000000</e>
</Element>
</cHcRMatrix4x4>
</FrontCouplingPivot>