Easy Unity Flight Simulator: Step-by-Step Playmaker Tutorial
Learn how to build an easy Flight Simulator using Unity and Playmaker in this step-by-step tutorial. Perfect for beginners looking to dive into game development. My discord link ► https://discord.gg/DgUdNDT7KU ► Download Unity at https://unity.com Chapters: 00:00 Introduction 00:41 Explanation
This guide builds a complete, controllable flight simulator in Unity using Playmaker — no C# required. By the end you'll have an aircraft with pitch, roll, yaw, constant forward motion, and altitude limits, plus a camera that tracks the action. It's the foundation the rest of the flight sim series builds on.
Scene setup
You need three things in the scene: an aircraft model, a large plane as temporary ground reference, and a Cinemachine virtual camera with its Look At target set to the aircraft. The virtual camera stays in a fixed position but continuously rotates to follow the plane — a cheap way to keep the player framed without writing camera logic.
Before building anything, know your three flight axes: pitch rotates the nose up and down (X axis), yaw turns left and right (Y axis), and roll banks the aircraft around its forward direction (Z axis). Each gets its own small FSM, which keeps the logic easy to debug and easy to copy between projects.
Pitch — nose up and down
Add a Playmaker FSM to the aircraft named Pitch with a single state. Use Get Axis reading Unity's Vertical input (up/down arrows or W/S), set a multiplier of about 20, store the result in a float, and check Every Frame. Then feed that float into a Set Rotation action on the X axis. Set Rotation — as opposed to Rotate — matters here: it snaps back toward zero when the keys are released, so the plane levels itself out, which feels much friendlier in an arcade-style sim.
To keep the player from flying into space or through the floor, add a Clamp Position action limiting the Y position (the video uses roughly −1 to 3). Run it every frame and tune the range to your scene.
Roll and yaw — banking and turning
Roll gets its own FSM: Get Axis on Horizontal input with a multiplier around 45, inverted so the left arrow banks left, stored every frame, then applied with Set Rotation on the Z axis — again self-centering on release.
Yaw is the one axis where you want Rotate instead of Set Rotation. Using Get Axis on the same Horizontal input with a multiplier of 45, apply it with a Rotate action on the Y axis, per second, every frame. Rotate is additive, so the heading persists after you release the keys — turn left, let go, and the plane keeps flying in its new direction rather than snapping back. The combination is what makes steering feel like flight: the same key press banks the plane (roll) and carves the turn (yaw) simultaneously.
Forward motion
The last FSM is one state with a Translate action: move along the local Z axis at a constant speed (5 units works for testing), per second, every frame. Hit play — the aircraft cruises forward, pitches, banks, turns, and respects its altitude limits. From here the series adds visual polish, wingtip trails, screen wrapping, and weapons, but this five-FSM setup is the complete flyable core.