Rhinos Can Fly, WASD game engine fly camera controls for Rhino

demo

Check the github: GitHub - Viterkim/RhinosCanFly: Flying camera controls for Rhino 3D (raw input, wasd, keybinds) · GitHub

Pigs might fly? Well rhinos do now.

WASD or weird binds flying camera for Rhino in perspective view. Windows only (sad trombone noises, Rhino doesn’t like supporting Linux).

Extras

It only hijacks right click when in perspective view, and still allows commands with right click when doing edits (for confirming etc).

Blender says no, Rhino also says no, but we’re gonna do it anyway and intercept right click at an extension level, and pass it on depending on context (very nice).

Do you want hammer source1/source2 ish old level editing camera controls, or modern game engine (unreal engine / unity / godot) camera controls? No? Just Me? Well ok…

I recommend going to Tools → Options… → Mouse, set middle mouse button to Manipulate view and rotate.

I also recommend setting lens length in your file/project/default rhino setup to something like 18 or so, which gives that 100 FOV feel. (Not in the addon options, that’s a temp toggle).

Run / Commands

RhinosCanFly main command, fly around in perspective view, exit on right click and escape.

RhinosCanFlyOptions pops up a panel where you can change keybindings / features (same menu is also in Tools → Options… → Rhinos Can Fly).

RhinosCanFlyInit is only used at startup to not have delay going into the view the first time.

Main Install

Install via Yak in Rhino.

In Rhino run PackageManager then find RhinosCanFly → install and restart.

It works with Rhinoceros v7?

I would love to make it work for v7, but i don’t have it and i only have the evaluation version of rhino 8 now :confused:

I also fixed a bug with the toolbox/text hanging around while hovering over the gumball, i’ll add a bit later.

I guess maybe i can try to make it work for rhino 7, then you can clone the repo and make a build? (Then we can maybe even upload it and it can work for more people for version 7).

I don’t think i can download rhino 7 with only an evaluation license.

Ok updated to 0.1.1

As i don’t have rhino 7 i can’t try it out, but it should be there in the package manager, on github releases, and on Food4Rhino when it gets aprooved. Try it out and tell me if it works.

cleanup rawinput
fix text toolbox getting stuck (gumball etc when in fly mode)
fixup the build scripts
rhino 7 support
runtime float rounding

Updated to 0.1.2 (github, rhino package manager, food4rhino)

redid options / settings

support non repeating commands

make mouse input / keyboard movement not polled (make it smooth)

add hacky mouse 4/5 (side button) support to do the same as the middle mouse button (pan or whatever you set in rhino mouse options)

Updated to 0.1.3

movement speed fix related to unit/grids (different files / projects would make the speed weird)
build cleanup
artistic logo (thanks to Peter and the amazing ms paint skills)

edit 0.1.4

undo the speed relative to units (it didnt work properly, and cant, was a bad cplane relative hacky thing, also tried with document settings but its not reliable and can change depending on setups)
still has bug fixes from 0.1.3 etc

Updated to 0.1.5

(had some F# issues but they are gone oh well)

save/load speed on document support/toggles
fly mode and rotate camera issue fix (especially with gumball)
initial cross platform setup
win forms to eto ui (cross platform)

the issue was basically rotation + enter fly mode and raw input was starting before rotation finished, so it missed the release and for gumball rotation there were some issues as well so now it just waits for the drag to end and THEN flies.

still not cross platform, all the mouse/raw input stuff is windows only, but atleats its segmented now and the ui/settings isn’t windows forms anymore

updated on github, and PackageManager/Yak (so also Food4Rhino)

https://www.food4rhino.com/en/app/rhinos-can-fly-rhinoscanfly-flying-custom-perspective-view

Updated to 0.1.6

rhino 9 alpha support
fix slow gumball hiding
smoother mouse look with direct camera
reduced start delay

Food4Rhino does not seem to show the rhino 9 versions of stuff yet, but is available on github/the package manager.

I spent a lot of time debugging why rhino 9 mouse input felt bad, and haven’t found a fix/think something is wrong with rhino 9 itself (as it also happens on normal pivoting), but this version does atleast work on rhino 9.

Posted here

and here Bug: Rhino 9 has worse viewport/ui/scheduling which is 'not smooth/laggy' - #2 by Gijs

EDIT: was not the issue was my plugin that hit a thing in rhino9 that changed and exposed some issues, so my bad!

Updated to 0.2.0

rhino 9 support
raw mouse input in own thread
fixed mouse lag inconsistent sens (missed input)
same rhino 7/8/9 flight and redraw paths
cleanup

ended up fixing it after i posted stuff in other threads about issues i hit (sorry)

Updated to 0.2.1

support for right click can enter fly while doing stuff (a command, go back and forth)
keyboard pivot controls while flying ('z' and 'x' by default)
shift or alt + right click pivot and pan
improve mouse 4/5 and pivoting
hide gumball while flying option
cleanup
added viewport redraw modes for temp debug performance issues (after doing many things in rhino9, even after then flying for the first time the performance seems worse, its very hard to manually trigger, so i've made this to troubleshoot stuff more long term)

So basically optional stuff and workflow improvements. The pan/drag stuff can be nice once you get used to holding shift (if enabled) before right clicking etc (still relies on the middle mouse button being set to pan).