Builtin Library
README.md
controller.editor
The viewport camera you author from. It is the behavior on the editor scene's EditorCamera — a world's players never meet it, which is why it reads the editor's controls rather than a game's.
Rotates the pivot child exposed by a sibling Player component if present, otherwise rotates self.
Public fields: moveSpeed, sensitivity, speedMin, speedMax.
Controls come from the map on inputMap, @builtin::inputMaps.editor by default: move to fly, flyVertical to rise and drop, look to aim while flying, zoom to adjust move speed. Rebind them by pointing inputMap at another map.
entity(id).component.add("controller.editor", { moveSpeed = 10 })