Skip to content

A script that can be attached to the main camera to rotate and move it in Game Mode (and Build) using simple input.

License

Notifications You must be signed in to change notification settings

andreasbaumde/UnityCameraFreeLook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Unity Camera Free Look

A script that can be attached to the main camera to rotate and move it in game mode (and build) using simple input.

Controls:

  • Movement: Unity input axis (e.g. W-A-S-D, arrow keys or gamepad input axis)
  • Up: Unity input "Jump" (e.g. space)
  • Down: X
  • Rotate: Unity mouse axis

The following settings can be made directly in the Editor in the component:

  • Movement speed (default: 10)
  • Turn speed (default 3)
  • Camera spawn (default current camera position)
  • Cursor visible: Indicates whether the cursor should be visible or not (default false)
  • Lock cursor: Indicates whether the cursor is locked in the game window or not (default true)

About

A script that can be attached to the main camera to rotate and move it in Game Mode (and Build) using simple input.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages