Skip to content

scene free flight

Tomáš Malý edited this page Jul 2, 2018 · 3 revisions

Free Flight Scene

This scene is an example on the usage of CameraObjects and MapMakeLocal scripts.

The MapMakeLocal is configured to move the map such that Prague city is at unity world origin.

The camera has a script attached for movement controls that are similar to any FPS type game. Use WSAD keys to move around. Keys E and Q move up and down. Keys R and F may be used to make movement faster or slower. Spacebar is used to detach the mouse cursor.

You may pause the game and look into the Scene tab in Unity editor to see the actual game objects that were instantiated by the camera.

You may also use this example scene to examine the effects of precision loss. Just keep moving away from the city and look around occasionally. To make it more apparent, hold R to accelerate the movement.

Clone this wiki locally