A downloadable asset pack

Gif edited on Kapwing

MouseFlight

This project is an example of mouse controls for aircraft based on the excellent system used by Gaijin's War Thunder. It is in my opinion the single best and most robust system for controlling aircraft, especially those with more realistic physics.

Demo Controls

To fly the demo plane, simply move the mouse around. The circle is controlled by the mouse, while the crosshair shows where the plane is pointed. The plane will automatically try to fly towards the crosshair.

Sometimes you might want to manually control the pitch or roll for a maneuver, so a couple keyboard overrides exist.

- W/S: pitch up/down

- A/D: roll left/right

The camera rig only handles telling where the aircraft is meant to fly. **How** your aircraft actually flies towards that point is an implementation detail specific to your project and will require scripting. The same goes for the HUD elements.

To give an example of how you might do this, the demo includes a very simple Rigidbody based airplane with the steering behaviors necessary to fly itself. An extremely simple HUD is also included to demonstrate how it's supposed to work.

StatusReleased
CategoryAssets
PublisherRed Resurrection Studios
AuthorRed Resurrection Studios
GenreSimulation
Made withUnity
Tags3D, Asset Pack, Flight, Open Source
ContentNo generative AI was used

Leave a comment

Log in with itch.io to leave a comment.