- Home /
Question by
mustang4484 · Feb 02, 2019 at 06:01 PM ·
rotationtransformlookat
Look at with degree angle for camera follow
Hi guys I've this script for Camera that follow car (i don't want parent him); The problem is on play the camera is always perpendicolar to target and instead i would like some 30 degree on x axis.
can you help me? THK
transform.LookAt(target.position);
transform.position = new Vector3(target.position.x, 0, target.position.z);
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612190956im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Get slerp to work just as LookAt(,Vector3.right) does 1 Answer
Have An Object Rotate Around Transform A So That Transform B is Looking at Transform C (C#) 0 Answers
How to make an enemy look at you and follow you 0 Answers
Hello, Need some help with Enemy facing the player on z axis !! 0 Answers
transform.LookAt boundaries 1 Answer