-
Notifications
You must be signed in to change notification settings - Fork 494
Added JSBSim for Unreal Engine 5, and UE Reference Application #617
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This project automatically build JSBSim for UE, and stages the needed Libs. Includes and Resources to the appropriate location.
Created a reference app. Created a terrain and a runway with simple materials Used a cleaned version of the Airliner fixed plugin build errors with STL created basic input axis, with a priority controller over keyboard system.
Created good Landing gears animations Wired the aileron, elevator, rudder anims.
Simplified the keyboard-driven inputAxis by changing the scale value to -1 for the opposite key tweaked the landing gear animation to avoid having the front wheel in the runway Added the engine blades rotating animation
Added the D key to toggle Debug Info Added 890 keys to switch TOD presets Added an UMG Primary display Moved some variables to AircraftState Struct
Added vertical speed and horizon indicator
+ Added md File
Primary Flight Display - Added Heading Legend - Added main commands values Added Braking logic (Left/Right/All + Parking) Added Flaps Logic (without animations yet) Changed key mappings to avoid Function Keys (In-editor conflicts)
Added Flaps animation in AnimBP Checked Flaps position at start behavior Extended the Main Gear initial extension to have wheels correctly on the ground.
With their current values on the PFD
This file is generated automatically by Unreal...
Thank you very much for your contribution. This is a remarquable new application for JSBSim. I quickly reviewed your PR and I have a few questions to ask: Could you please remove the file Also is there a way not to include the multimegabytes "assets" files in the PR as it will significantly increase the size of our repo ? Thanks for your help. |
Hi @bcoconni I reduced the assets file and provided a download link to get access to HD Content optionally. And the bas XML file has gone. Thanks!! |
@AlbanBERGERET-Epic this link the readme doesn't appear to be valid - https://dev.epicgames.com/community/learning/tutorials/mmL/a-diy-flight-simulator-tutorial |
It's normal that the link is invalid. It will be live next week... |
Is this working with 5.01? Or only for 5.1? How would I compile this, I see no solution file in the example project folder for UE5. |
Hey @ICanDoThings2 - You need to generate the solution file by right clicking the .uproject file and click "Generate Visual Studio Project files". It should also work with Unreal 5.01. |
I found it now I think, thanks and sorry! I think I see now. I thought LWC wasn't supported in UE5 yet though. |
@ICanDoThings2, yes, it works for UE 5.0.1 UE will indeed generate the sln file for you. Have a look at the tutorial (link in the md) to learn more. LWC is here in 5.0 but should should enable large world in the worldsettings to enable it entirely. |
This comment was marked as resolved.
This comment was marked as resolved.
After we compile the project with the plugin in UE5, can we move the plugin to other projects and outside the folder it's compiled in? Or must it stay there and/or paired to the example project forever? |
Sorry for the answer delay, but we are live on wats2022 event, with lots of attendance on our booth, so I can't be as present as needed... Did you build the jsbsimforunreal.sln file at the root folder of jsbsim first? This solution will build jsbsim as static libs and copy all the needed includes and resources in the plugin folder. This is needed by UE plugin system. Once you build the plugin for the first time (and actually, even once you build the root jsbsimforunreal.sln for the first time), you can just copy/paste the whole plugin folder to your own application. This is even recommended to do so because the reference application is here as an example, and as a way to do non-regression tests. |
Please also make sure that there is never any space in your folder hierarchy. |
I got it now, so sorry about that. Is there any sort of documentation for implementing new planes with the plugin and demo? And again, when we compile the example project, can we take the plugin out and put it in other projects, or will it only work with the example? |
Do you think for a future release, we might have support for creating and editing models in the editor instead of having to write them strictly in an .xml file? It would make tweaking models much easier in my opinion. |
Also, maybe a way to toggle flight dynamics calculations on/off for when an aircraft is landed too or something so it's not doing math for nothing, or in cases when we want to animate it kinematic wise temporarily I think would be invaluable. |
@AlbanBERGERET-Epic Hi, how do i report bugs about the JSBSim for unreal engine5 plugin? |
No description provided.