Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
  YaBB is sponsored by XIMinc!

FFDS Home | TIPS Section | Tutorials Section | Resources Section | Utilities Section

Military | FSDS | Jetliners | Real Planes Section | Gmax | Rotorcraft | Business | Civilian

  HomeHelpSearchLoginRegister  
 
 
Page Index Toggle Pages: 1
Send Topic Print
FSX Trim Wheel Animation (Read 1461 times)
31st Aug, 2010 at 10:06pm

Spad54   Offline
Polygon Twister
Golden Age Simulations
USA

Gender: male
Posts: 93
**
 
I used this code for the animation and key framed it for 360 degrees using 10 keyframe increments 0 - 100.

The key is to animate it so that it makes the two complete rotations, actually two and half. key frame 0 = 6 o'clock 10 = 9 o'clock, 20 = noon, 30 = 3 o'clock. 40 = 6 o'clock,
50 = 9 o'clock. 60 = noon, 70 = 3 o'clock, 80 = 6 o'clock, 90 = 9 o'clock and 100 = noon.

<Animation name="el_trimtab" guid="c6fc33cc-3365-4fcb-bb52-2073ec8c1ae3" length="100" type="Sim" typeParam2="lever_trimtab_elevator_key_pct" typeParam="AutoPlay" />

   </PartInfo>
<PartInfo>
    <Name>el_trimtab</Name>
       <AnimLength>100</AnimLength>
       <Animation>
           <Parameter>
               <Sim>
                   <Variable>ELEVATOR TRIM PCT</Variable>
           <Units>percent</Units>
           <Scale>0.5</Scale>
           <Bias>50</Bias>
         </Sim>
           </Parameter>
       </Animation>
       <MouseRect>
           <Cursor>Hand</Cursor>
           <HelpID>HELPID_GAUGE_PITCH_TRIM</HelpID>
           <TooltipID>TOOLTIPTEXT_PITCH_TRIM</TooltipID>
           <MouseFlags>LeftSingle+LeftDrag+Wheel</MouseFlags>
           <CallbackJumpDragging>
               <YMovement>
                   <Delta>-3</Delta>
                   <EventIdInc>ELEV_TRIM_DN</EventIdInc>
                   <EventIdDec>ELEV_TRIM_UP</EventIdDec>
               </YMovement>
           </CallbackJumpDragging>
       </MouseRect>
    </PartInfo>
 

Multimedia File Viewing and Clickable Links are available for Registered Members only!!  You need to Login or Register
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print