• 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.

[RESOLVED] Jetway Animation Help

arwasairl

Resource contributor
Messages
33
Country
southkorea
Hey all. I've been spending many hours with no results in animating this jetway for MSFS. The canopy head rotates when requesting a jetway, but it doesnt move or extend the bridge at all.
I currently don't have any canopy animations (it doesn't bend at all) but for now I'm more worrying about the fact that the jetway itself is not descending or extending. Only the head of the canopy will rotate.

I've crosschecked both my model and the default Asobo jetway and the only practical differences is that I only have one LOD (will change that later, not my priority right now) and the models and textures are of course different. However the XML, and even the names of various point helpers are pretty much the same as the Asobo jetway, yet it fails to animate the bridge extension. The rotation of the jetway, as well as the wheels themselves appear to be animated correctly, however.

Below are common problems. Either the jetway doesn't extend OR it doesn't extend AND it rotates in an odd way which makes it detach from the rest of the jetway. Distance is also not the issue as the second image shows that I am quite close to it and the extension portion of the jetway should be able to make that distance. Yet it still rotates in an odd fashion and detaches in odd ways (plus it doesn't even close the gap).

1693204256769.png

1693204560639.png


Below is code for the .XML used by the gLTF model.

XML:
<?xml version="1.0" encoding="utf-8" ?>
<ModelInfo version="1.1" guid="{08a31be2-9d91-44a0-8100-5fa37fb3f5ec}">
    <!---
    <Animation name="Link_Deployment_L" guid="f993fae1-e8b1-47b5-940d-5cb1b624f0cc" type="Standard"/>
    <Animation name="Link_Deployment_R" guid="b09319d2-ec96-445e-9395-ea6ef3182542" type="Standard"/>
    <Animation name="Link_Bend_L" guid="6AE01FE9-9BFD-4234-9932-36D4B8D65B5F" type="Standard"/>
    <Animation name="Link_Bend_R" guid="D06BC1D3-4F30-4E0F-90E0-32199272D27B" type="Standard"/>
    -->
    <Animation name="Wheel_Rotation" guid="3510798D-EE26-4264-A532-0E81959618BB" type="Standard"/>
    <Animation name="Wheel_Orientation" guid="B4E328E8-6D7B-4EE8-AE90-9B88F69D4545" type="Standard"/>
        <LODS>
        <LOD ModelFile="arwasairl_MitsubishiOldType1.gltf" MinSize="20"/>
    </LODS>
 
    <IKChain Name="IK_MainHandle">
        <Start>Rotation_Base</Start>
        <End>Pivot</End>
        <TranslationSpeed>0.4</TranslationSpeed> <!-- Meters per second for each Node compared to its parent -->
        <RotationSpeed>3</RotationSpeed> <!-- Degrees per second for each Node compared to its parent -->
    </IKChain>
 
    <IKChain Name="IK_SecondaryHandle">
        <Start>Rotation_End</Start>
        <End>Contact</End>
        <TranslationSpeed>0.4</TranslationSpeed>
        <RotationSpeed>30</RotationSpeed>
    </IKChain>

    <IKChain Name="IK_WheelsGroundLock">
        <Start>IK_Wheels_Ctrl_01</Start>
        <End>IK_Wheels_Ctrl_03</End>
        <TranslationSpeed>10</TranslationSpeed>
        <RotationSpeed>90</RotationSpeed>
    </IKChain>

    <IKConstraint>
        <Node>Rotation_Base</Node>
        <Bank min="-12.6" max="9.3"/>
        <Heading/>
    </IKConstraint>

    <IKConstraint>
        <Node>Translation_Ramp_01</Node>
        <X min="1.142" max="5.186"/>
    </IKConstraint>
    <IKConstraint>
        <Node>Rotation_End</Node>
        <Pitch/>
        <Bank/>
        <Heading/>
    </IKConstraint>

    <IKConstraint>
        <Node>IK_Wheels_Ctrl_01</Node>
        <!-- <Bank min="-104.2" max="-48.2"/> -->
    </IKConstraint>
    <IKConstraint>
        <Node>IK_Wheels_Ctrl_02</Node>
        <X min="0.6" max="6"/>
    </IKConstraint>
    <IKConstraint>
        <Node>IK_Wheels_Ctrl_03</Node>
    </IKConstraint>
    <Behaviors>
        <Include ModelBehaviorFile="Asobo\Misc\SimObjects.xml"/>
     
        <Component ID="Hood">
            <!--
            <UseTemplate Name="ASOBO_Jetway_Hood_Left_Bend">
                <ANIM_NAME>Link_Bend_L</ANIM_NAME>
                <PERCENT_PER_SECOND>50</PERCENT_PER_SECOND>
            </UseTemplate>
            <UseTemplate Name="ASOBO_Jetway_Hood_Left_Deployment">
                <ANIM_NAME>Link_Deployment_L</ANIM_NAME>
                <DEGREE_PER_SECOND>20</DEGREE_PER_SECOND>
                <MIN_ANGLE>0</MIN_ANGLE>
                <MAX_ANGLE>45</MAX_ANGLE>
            </UseTemplate>
            <UseTemplate Name="ASOBO_Jetway_Hood_Right_Bend">
                <ANIM_NAME>Link_Bend_R</ANIM_NAME>
                <PERCENT_PER_SECOND>50</PERCENT_PER_SECOND>
            </UseTemplate>
            <UseTemplate Name="ASOBO_Jetway_Hood_Right_Deployment">
                <ANIM_NAME>Link_Deployment_R</ANIM_NAME>
                <DEGREE_PER_SECOND>20</DEGREE_PER_SECOND>
                <MIN_ANGLE>0</MIN_ANGLE>
                <MAX_ANGLE>45</MAX_ANGLE>
            </UseTemplate>
            -->
            <UseTemplate Name="ASOBO_Jetway_Wheel_Roll">
                <ANIM_NAME>Wheel_Rotation</ANIM_NAME>
                <WHEEL_RADIUS>0.454</WHEEL_RADIUS>
            </UseTemplate>
            <UseTemplate Name="ASOBO_Jetway_Wheel_Orientation">
                <ANIM_NAME>Wheel_Orientation</ANIM_NAME>
                <MIN_ANGLE>-90</MIN_ANGLE>
                <MAX_ANGLE>90</MAX_ANGLE>
                <MIN_TO_MAX>1</MIN_TO_MAX> <!-- 1 if the anim starts at min and ends at max -->
                <SPEED>30</SPEED> <!-- degrees per sec -->
                <SMOOTH_TIME_FACTOR>0.3</SMOOTH_TIME_FACTOR>
            </UseTemplate>
        </Component>
         
    </Behaviors>
</ModelInfo>

For those wondering about a MAX screenshot, here it is:
1693204731576.png


Regarding the airport being used I'm just using the Asobo KALO sample airport provided with the SDK, as I just wanted to test the jetway to see if it will animate properly. I did generate an Instance ID for the jetway upon placing it.

I've verified that the names of each point helper is the same in the XML. If any of you guys need more info, I'll be happy to provide it as I'm personally going nowhere with this.



EDIT: I was able to resolve the issue. Just needed some tweaks to the model.
 
Last edited:
Back
Top