73a67f2328
from https://github.com/c172p-team/c172p/tree/release/2018.3 commit 0ddd75dbb7431f955d1dd8f468b30300bad6b9d1
90 lines
2.4 KiB
XML
90 lines
2.4 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<PropertyList>
|
|
|
|
<path>clock.ac</path>
|
|
|
|
<effect>
|
|
<inherits-from>../../../../Effects/interior/lm-clockr</inherits-from>
|
|
<object-name>SecondHand</object-name>
|
|
<object-name>MinuteHand</object-name>
|
|
<object-name>HourHand</object-name>
|
|
</effect>
|
|
|
|
<effect>
|
|
<inherits-from>../../../../Effects/interior/lm-clock</inherits-from>
|
|
<object-name>Face</object-name>
|
|
<object-name>Case</object-name>
|
|
</effect>
|
|
|
|
<animation>
|
|
<type>material</type>
|
|
<object-name>Face</object-name>
|
|
<object-name>SecondHand</object-name>
|
|
<object-name>MinuteHand</object-name>
|
|
<object-name>HourHand</object-name>
|
|
<object-name>Case</object-name>
|
|
<condition>
|
|
<not>
|
|
<property>/sim/rendering/shaders/skydome</property>
|
|
</not>
|
|
</condition>
|
|
<emission>
|
|
<red> 1.0</red>
|
|
<green>0.8</green>
|
|
<blue> 0.5</blue>
|
|
<factor-prop>/sim/model/material/instruments/integral-factor</factor-prop>
|
|
</emission>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>rotate</type>
|
|
<object-name>SecondHand</object-name>
|
|
<property>/sim/model/c172p/local-time-seconds</property>
|
|
<factor>6</factor>
|
|
<axis>
|
|
<x>-1</x>
|
|
<y>0</y>
|
|
<z>0</z>
|
|
</axis>
|
|
<center>
|
|
<x-m>-0.37012</x-m>
|
|
<y-m>-0.38847</y-m>
|
|
<z-m> 0.08227</z-m>
|
|
</center>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>rotate</type>
|
|
<object-name>MinuteHand</object-name>
|
|
<property>/sim/model/c172p/local-time-seconds</property>
|
|
<factor>0.1</factor>
|
|
<axis>
|
|
<x>-1</x>
|
|
<y>0</y>
|
|
<z>0</z>
|
|
</axis>
|
|
<center>
|
|
<x-m>-0.37012</x-m>
|
|
<y-m>-0.38847</y-m>
|
|
<z-m> 0.08227</z-m>
|
|
</center>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>rotate</type>
|
|
<object-name>HourHand</object-name>
|
|
<property>/sim/model/c172p/local-time-seconds</property>
|
|
<factor>0.008333</factor>
|
|
<axis>
|
|
<x>-1</x>
|
|
<y>0</y>
|
|
<z>0</z>
|
|
</axis>
|
|
<center>
|
|
<x-m>-0.37012</x-m>
|
|
<y-m>-0.38847</y-m>
|
|
<z-m> 0.08227</z-m>
|
|
</center>
|
|
</animation>
|
|
</PropertyList>
|