Autopilot in Unreal Engine #973
Replies: 2 comments
-
If you use blueprints you can use these blueprint nodes to send any command to JSBSim. You can look through these scripts to find the various autopilot commands which you can use in the blueprint nodes. https://github.com/JSBSim-Team/jsbsim/tree/master/scripts So for example this script which uses the c172x: jsbsim/scripts/c172_cruise_8K.xml Lines 80 to 87 in ae4652a You can see the commands which you can enter in the blueprint node as: A value of 1 and 0 will enable/disable the appropriate systems. And a caution that using incorrect property names or properties that haven't been loaded yet by jsbsim will crash UE5. So if UE5 crashes when using commands, then this is why. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much, everything works like you said! |
Beta Was this translation helpful? Give feedback.
-
I have a project running with the JSBSimMovement component, with a model of Cessna 172 X and all is working as it should.
I want to use the c172ap inside the unreal engine, so I can direct it to waypoints and control it as a UAV.
Is there any way to do it with the current plugin, or should a different plugin be made in order to access the autopilot capabilities?
Beta Was this translation helpful? Give feedback.
All reactions