← Back to portfolio

3D Flight Sim on Unity3D WebGL


Built a physics-driven aircraft simulation sandbox in Unity (C#) modeling thrust, lift, drag, and control surfaces, integrated visuals and camera for a usable flight sandbox.
Generated 100 X 100 kilometers terrain procedurally using heightmaps to save asset modeling time.
Data-driven surfaces: Wrote ControlSurface class to store aileron, elevator, rudder, flap angles and limits; Decoupling it from mechanics.
Input mapping and rate limiting: ControlSurfaceInput maps keys to surfaces with speed-dependent deflection rates; elevator auto bias towards fuselage AoA; flap step toggle.
Modelled the Simulation with swap in swap out in mind. Behavior can be modified by modifying data only. [ Separation of Concern pattern]

Gesture teleoperation pipeline demo

Full setup, prerequisites, usage steps, and troubleshooting: GitHub project page