Deano1973
Resource contributor
- Messages
- 384
- Country
-
Hi folks, very quick XML question! I have a CoG gauge that is working perfectly well over 100 frames. The problem is that the gauge in my aircraft only depicts the 50% to 60% CoG range of CoG movement, so my animated CoG marker of course only moves about in the centre 10% or so of the gauge. How would I use scale in XML, in order to get my CoG marker to move from the top to the bottom of the gauge in the correct way? I've tried all sorts of methods but nothing's really worked at all. This would be easy in a 2D gauge using <value> and <scale> etc, but is not so easy in a 3D modeled gauge.
Thanks in advance to anybody who takes the time to answer
Code:
<PartInfo>
<Name>needle_CG</Name>
<AnimLength>100</AnimLength>
<Animation>
<Parameter>
<Code>(A:CG PERCENT, percent) 0 max 100 min</Code>
<Lag>50</Lag>
</Parameter>
</Animation>
</PartInfo>
Thanks in advance to anybody who takes the time to answer