I'm trying to bind the su-27sk HUD brightness to it's correspondent cockpit knob ,
this animation works :
- Code: Select all
<animation>
<type>material</type>
<object-name>hudglass</object-name>
<emission>
<red>0.9</red>
<green>0.9</green>
<blue>0.9</blue>
</emission>
</animation>
but since the knob animation requires props to adjust I did this second one below which for some reason doesn't give the right color combination ,
doesn't report errors in the console but looks like it outputs "0" .
am I missing something or it just that this animation requires values and not props ?
- Code: Select all
<animation>
<type>material</type>
<object-name>hudglass</object-name>
<emission>
<red><property>su-27/instrumentation/HUD/brightness</property></red>
<green><property>su-27/instrumentation/HUD/brightness</property></green>
<blue><property>su-27/instrumentation/HUD/brightness</property></blue>
</emission>
</animation>
Have a nice day , and thanks in advance .
Yanes.