I want to manually rotate camera with touch for a better aiming system

sheet1281

New member
I had added a script manually to update camera position via script and want to use it to improve the aiming system with touch. But every time as it's snapping back to original position. How can I turn off or comment the snapping of camera
 
If you want to manually move/rotate the camera, you need to use CameraController.Move and CameraController.Rotate.

Also, if you want the camera to never move itself (you want to completely control the camera's movement with your own moving & rotating), there is an example custom view type on the bottom of this page - https://opsive.com/support/documentation/ultimate-character-controller/camera/view-types/ - if you use this view type on your CameraController, then you can have full control over its positioning by using the Move and Rotate methods I mentioned above.
 
Top