- Messages
- 228
- Country
As the title says, I need some assistance with xml code for a part that will animate between 10 and 100 knots. I am creating a light business jet and in all videos I have seen, during taxi and takeoff, the aircraft wobbles very snappily from side to side and I would like to implement this wobble.
I am no hand at xml so what I have so far (hashed together) is:
<PartInfo>
<Name>TJ_vib</Name>
<AnimLength>100</AnimLength>
<Visibility>
<Parameter>
<Code>
(A:VELOCITY BODY Z, feet) 169 - 17 <; if{ 0 } els{ 1 }
</Code>
</Parameter>
</Visibility>
<Animation>
<Parameter>
<Sim>
<Variable>CENTER WHEEL ROTATION ANGLE</Variable>
</Sim>
</Parameter>
</Animation>
</PartInfo>
but I'm sure you kind people will point out my error(s).
Any assistance would be greatly appreciated.
Thanks.
I am no hand at xml so what I have so far (hashed together) is:
<PartInfo>
<Name>TJ_vib</Name>
<AnimLength>100</AnimLength>
<Visibility>
<Parameter>
<Code>
(A:VELOCITY BODY Z, feet) 169 - 17 <; if{ 0 } els{ 1 }
</Code>
</Parameter>
</Visibility>
<Animation>
<Parameter>
<Sim>
<Variable>CENTER WHEEL ROTATION ANGLE</Variable>
</Sim>
</Parameter>
</Animation>
</PartInfo>
but I'm sure you kind people will point out my error(s).
Any assistance would be greatly appreciated.
Thanks.