here is a copy from the dash8-400 engine management.
This part of the animation rotates the needle
- Code: Select all
<animation>
<type>rotate</type>
<object-name>trq01-needle</object-name>
<property>engines/engine/torque-ftlb</property>
<interpolation>
<entry><ind>0.0</ind><dep>0.0</dep></entry>
<entry><ind>31822</ind><dep>190</dep></entry>
</interpolation>
<center>
<x-m>-11.455</x-m>
<y-m>-0.0110</y-m>
<z-m>2.4564</z-m>
</center>
<axis>
<x>-1</x>
<y>0</y>
<z>0</z>
</axis>
</animation>
The interpolation tages show the relationship for when the engine is off 0 and the degrees of rotation.
then at max value in this case (31822) the needle would need to rotate 190 degrees.
If your aircraft already has ttwo engines animated, it would simply need to copy paste one of them and rename the object to 03 in bothe the 3dmodel and the xml animation file.