Camera Controller

Ask for help and post bugs.

Camera Controller

Postby vaibhavx » Wed Jun 14, 2017 5:57 am

I want to use the Camera Controller touch script to point to the object at all times during rotation. Moreover, I want to clamp the rotation between certain values. How should I modify the file ?
Posts: 1
Joined: Wed Jun 14, 2017 5:55 am

Re: Camera Controller

Postby valyard » Wed Jun 14, 2017 1:11 pm

Write a script which uses Transform.LookAt ( ... ookAt.html) to look at the target object.
The same script can check the values you need. This code doesn't have to be inside Transformer component, but it might be better to duplicate this component and add the functionality to it.
Site Admin
Posts: 439
Joined: Mon Sep 08, 2014 11:57 pm

Return to Help and Bugs

Who is online

Users browsing this forum: No registered users and 3 guests