aeronautic

Installation

Install the package, and what comes with it.

From npm

@aeronautic/afterburner, @aeronautic/wing-vapor and @aeronautic/controls each take it as a peer dependency, so install it next to them. That way every package and your own code share one copy, with one <FlightProvider>:

pnpm add @aeronautic/core

Install the peer dependencies too, if you don't have them yet:

pnpm add three@~0.186 @react-three/fiber react react-dom
peerversionneeded for
three0.186.xeverything
react19@aeronautic/core/react
@react-three/fiber9 or 10@aeronautic/core/react

They are the same as every other @aeronautic package's, so they all install side by side.

Two entry points

importwhat's in it
@aeronautic/coreFlight, the atmosphere and the depth capture. Plain three.js, no React.
@aeronautic/core/react<FlightProvider>, useFlight, useFlightFrame, useFlightStore and useThrust.

Next, share a flight.

On this page