https://github.com/John-Bray/C-101
I would like to contact the author to help in something to make this plane to the highest standard we can, I'm from Spain and I have seen this plane IRL many times and would love to have a better model in FlightGear.. not downplaying this version, it's great! But it could receive some love. I found a "bug" also, and Stuart helped me to solve it.. when applying rudder, the front wheel in the landing gear was visible on the sides of the fuselage. Now it doesn't. Thanks StuartC for that. I could send the code to John, and continue trying to help, and if someone wants to get onboard helping in this magnificient aircraft that would be awesome!!! The license also refers to Pavel Cueto, Fernando Espinosa as authors. If you see this I want to help you, please contact me
This is the code for the (correct) animation, it must be placed inside the CASA_C-101_common.xml file where it says "Tren de aterrizaje", which means landing gear:
- Code: Select all
!-- Tren de aterrizaje -->
<!-- Direccion -->
<animation>
<type>rotate</type>
<condition>
<and>
<property>gear/gear/steering-norm</property>
<not>
<less-than>
<property>gear/gear/position-norm</property>
<value>1</value>
</less-than>
</not>
</and>
</condition>
<object-name>Rueda_DEL_01</object-name>
<object-name>Rueda_DEL_02</object-name>
<object-name>Tren_DEL_01</object-name>
<object-name>Tren_DEL_02</object-name>
<object-name>Tren_DEL_03</object-name>
<object-name>Tren_DEL_04</object-name>
<factor>45</factor>
<axis>
<x1-m>-4.88279</x1-m>
<y1-m> 0.00 </y1-m>
<z1-m>-0.62453</z1-m>
<x2-m>-4.88279</x2-m>
<y2-m> 0.00 </y2-m>
<z2-m>-1.20749</z2-m>
</axis>
</animation>