-
Notifications
You must be signed in to change notification settings - Fork 26
scene free flight
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.