Code


Fly Tool

The Fly Tool brings game-engine style navigation to Maya, allowing for first-person scene exploration. This is a dedicated flight mode that lets you move freely through 3D space. Using the familiar WASD layout and mouse-look, it provides a fluid way to navigate large-scale environments or complex level layouts that are otherwise difficult to manage with traditional orbit and pan controls.


Features

WASD & Mouse-look

Standard first-person movement and orientation controls.

Vertical Navigation

Dedicated inputs for vertical movement

Speed Modification

On-the-fly adjustment of base movement speed and mouse sensitivity.

Precision Toggles

Modifier keys for temporary speed scaling (slow/fast).

Input Configuration

Options for axis inversion and mouse button swapping.


Video


Setup & Usage


Installation

Fly Tool is part of the FX Python Tools library. Download fxpt from GitHub and add it to your PYTHONPATH directory.

Create a shelf button with the following code:

Python
from fxpt import fx_fly_camera
fx_fly_camera.run()

Usage

Make sure a perspective viewport is active, then run the tool by clicking the shelf button.


Compatibility

Tested on

Maya 2016
Maya 2017

Requirements

Maya versions using a Python 2.7 interpreter