• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

P3D v5 3d needles not moving when aircraft moves, help?

Messages
257
Country
us-newyork
hi, everyone!! been testing my A300 and realized that the 3d needle i animated (it's called needle_eng1_nozzle_position and needle_eng2_nozzle_position" how do i fix this for the N1 and apply the animation for it to move? they all move in mcx (altimeters, backup altitude, brake pressure, ADI and airspeed ) here it is in P3D while the aircraft was moving in testing on the ground, moving. the other needles do not move (black is where i have not yet put the flat gauges yet since i'm testing this:

1742110944886.png



here is the code for needle_eng2_nozzle_position:

<PartInfo>
<Name>needle_eng2_nozzle_position</Name>
<AnimLength>360</AnimLength>
<Animation>
<Parameter>
<Code>
(L:needle_eng2_nozzle_position, number)
</Code>
</Parameter>
</Animation>
</PartInfo>

what should be the right code for the N1 engine readings and other needles? the keyframe of my animation for n1 readings is 120. changed it to 120 kf but it still does not move
 
Last edited:
It seems you are using a local variable to drive the animation. Do you have some logic to fill those variables? Normally you would use the stock animations for this.
 
It seems you are using a local variable to drive the animation. Do you have some logic to fill those variables? Normally you would use the stock animations for this.
I do not have the logic to fill those variables. I do not know what the stock animations are for the 3d needles. How could I accomplish this (to find the logic to drive the animation)? Flaps and slats gauge work fine by the way. I am struggling with the 3d needles
 
Did you read the SDK documentation? I'm not an aircraft developer myself, so don't know all details, but if you pick an animation from the modeldef.xml that's a good start.
 
Did you read the SDK documentation? I'm not an aircraft developer myself, so don't know all details, but if you pick an animation from the modeldef.xml that's a good start.
yes! i read the sdk but hadn't come across 3d needles & what stock animation(s) to use for them
 
Code:
<PartInfo>
   <Name>needle_eng2_nozzle_position</Name>
   <AnimLength>360</AnimLength>
   <Animation>
     <Parameter>
       <Code>
         (A:TURB ENG N1:index, percent) 3.6 *
       </Code>
     </Parameter>
   </Animation>
 </PartInfo>

'index' is the engine number. N1 is returned as percent, so if you have 360 keyframes you need to multiply the return by 3.6. Code not tested.
 
Code:
<PartInfo>
   <Name>needle_eng2_nozzle_position</Name>
   <AnimLength>360</AnimLength>
   <Animation>
     <Parameter>
       <Code>
         (A:TURB ENG N1:index, percent) 3.6 *
       </Code>
     </Parameter>
   </Animation>
 </PartInfo>

'index' is the engine number. N1 is returned as percent, so if you have 360 keyframes you need to multiply the return by 3.6. Code not tested.
ok, makes sense. Then the needle will work/move if i multiply the return by 1.2? since i have it at 120 kf
 
If your animation has 120 key frames, then why does your animation length say 360?
 
Back
Top