Easy Flight Model for Unreal Engine 4/5
EasyFlightModel is a simple, versatile and easy to use semi-realistic flight model. Just attach it as a child component to any physics body and it'll fly.
Video and example game: https://www.youtube.com/watch?v=Ojv_TaUV49w
Tutorials playlist: https://www.youtube.com/playlist?list=PLpdNKDbSpbwV4xJCTI-9l_SGJjedPvAp9
-Lift, drag - uses a curve to vary coefficient depending on angle of attack.
-Can simulate lift and drag caused by sideways movement - for vehicles with vertical lifting surfaces.
-Lift asymmetry simulation - runs lift calculation at multiple points along the wing span and applies forces at appropriate locations
-Buoyancy - can also simulate balloons and airships.
-Stabilization - Neutral and control trim simulated, can use control curves to vary for realistic stalls.
-Control surfaces - w/ curves to vary control efficiency based on AoA. -Additional lift devices - flaps and spoilers, deployment/retraction time simulated.
-Engine - control curves, thrust redirection for VTOL.
-Attitude thrusters - can use engine power for thrust vectoring.
-Dynamic air density - affecting all aerodynamic forces, default curves based on real world measurements included.
-Dynamic wind
-Mach - lift, drag, stability and engine thrust can be varied depending on mach number.
-Ground effect - using raycast against terrain mesh
-Fly-by-wire computer assists.
-Guidance - automatically adjust controls to steer towards target vector using PID controller.
-Linear mode - optional unrealistic mode for more "slidey" arcade physics.
-Code plugin - works in both C++ and blueprint-only projects.
-Can run in physx substep to increase accuracy.
-Network movement replication with smoothing and jitter filtering.
-Supports multiplayer origin rebasing (UE 4.14+ only)
-Complete blueprint integration - all variables can be read and changed.
-No hardcoded parameters.
-Includes bonus plugin - very simple raycast landing gear
-Source code included.
-Example project included.