Unity Move Camera On Touch by mariusrubo - 3

Camera

Smoothly move the camera around by clicking or touching the screen

GNU General Public License v3.0Updated 1 year agoCreated on November 24th, 2017

Unity-MoveCameraOnTouch

Smoothly move the camera around by clicking or touching the screen

Use

  • This script moves the camera within a specified rectangle when a user clicks (or, for Microsoft Surface, touches) the screen.
  • The idea is to allow the user to look at and familiarize with 3D objects in a natural and fail-safe way. Camera movements roughly simulate head movements when looking at objects placed in front of the user. The camera cannot be moved beyond the predefined frame or turned around entirely, since this would expose some users to the risk of being disoriented in the 3D scenario.
  • The camera is always smoothly brought to its destination to avoid discontinuities in viewing angle.

alt tag

Show all projects by mariusrubo