3D Camera Controller For Unity by MarcosAtMorais - 1


3D Perspective camera controller for zooming control between two objects and a base distance.

Unknown VersionMIT LicenseUpdated 1 year agoCreated on January 25th, 2018
Go to source

3D Camera Controller Script

MIT Unity3D

A simple script for zooming management between two objects in a 3D scene. It has a base distance to start acting and smoothing effects for polishment. This script only works for Perspective projections.

Getting Started

Just import the CameraControl.cs script as a component to the desired Camera Game Object.

You’ll be prompted with the following options:

Inspector Options

Drag and Drop the desired game objects to the fields and run the project. If you want to increase the distance the camera controller is going to start acting, the slider for the Base Distance to Act is your guy.

Feel free to adapt the script according to your project.


The example project was built using Unity 2017.3.


This project is licensed under the MIT License - see the LICENSE.md file for details

Show all projects by MarcosAtMorais