The Space Dogfight — Real Newtonian Inertia, Decoupled Aim and Movement
X-Wing in an asteroid field. Real Newtonian physics — no atmospheric drag. You drift. Yaw 90 degrees while still moving forward. Strafe. Lead-indicator solves a 3-iteration intercept.
What this is
You're in the cockpit of an X-Wing-style fighter in an asteroid field. The skybox is a procedural deep-blue + purple nebula with scattered stars. 50-100 irregular asteroids slowly rotating. Mouse pitch + yaw, A/D roll, W forward thrust, S reverse, Q/E lateral thrusters. Crucially: NO atmospheric drag. Each thrust adds an impulse that persists. So you can W to 80 m/s, then yaw 90 degrees, and keep drifting in the original direction while pointing somewhere new — true decoupled aim and movement. Space brake gradually nullifies velocity for player convenience. Left click fires plasma lasers at finite speed (~1km/s). Right click locks onto enemies in your forward cone after 1.5 sec aim. Lead indicator solves a 3-iteration intercept. 4-6 enemy TIE-style fighters in the same physics. Radar shows enemies + asteroids in 3D space.
Why this is mind-blowing
Star Citizen has been "in development" for 13 years and $700M of pledges. Newtonian space combat with decoupled aim and movement is here in 1465 lines from one paragraph. The scene-graph trick (rotation is a child of translation) is the entire architectural insight that makes this work.
First-person space dogfight game with REAL Newtonian physics. X-Wing
cockpit. No atmospheric drag — you drift. W forward thrust, S reverse
thrust, Q/E lateral, A/D roll, mouse pitch + yaw. You can yaw to face
a target without changing trajectory (decoupled aim and movement).
Asteroid field. 4-6 enemy fighters in same physics. Lasers and
homing missiles.
Paste this into Claude, Cursor, or Copilot. Change one thing that matters to you.
What I learned shipping it
- Decoupled aim and movement (translation root + rotation child) is the architecture for space combat. Without it, ships fly like planes and the genre's signature mechanic disappears.
- Brake key (Space) that gradually nullifies velocity over a couple seconds is the player-convenience compromise that makes Newtonian flight playable. Pure physics is unmanageable.
- Lead indicator that solves a 3-iteration intercept on relative velocity tells the player WHERE to shoot for hits at finite-speed laser bolts. Without it, you'd never hit anything.