3rd Person Camera Script
Published on Wednesday, October 16, 2013,17:27:03 in Mobile
Script implements camera zoom, horizontal and vertical orbital camera movements; check camera collisions and change camera position. Everything you need is to add this script to the Main Camera. Use mouse scroll to zoom in/out. Use right mouse button for orbital rotations. Script has parameters for Camera setup: Camera angle, zoom speed, min and max zoom, vertical and horizontal mouse speed, vertical tilt limits, dumping speed. Package contains Standard Unity Assets (3rd Person Controller and Skybox) just for demonstration. The script is written in C# and commented. There is a description file in the project, where you can see explanations about script.
You May Also Like