How to center an object to a camera, but away from it?
Hello guys, I wan't to know how to center an object to the player's camera, but this have to be far away, with the Z different. Thanks!
Comment
Answer by hexagonius · Dec 16, 2016 at 12:03 AM
far in front of the camera would be
cameraTransform.position + cameraTransform.forward * zValueYouWant;
Your answer
Follow this Question
Related Questions
My camera follows my player so that the camera goes inside the player. What can I do? 0 Answers
Player control is weird after attaching camera 0 Answers
/hello/how say camera going up if.... 0 Answers
Camera rotate X degree based on player rotate 0 Answers
My player doesn't rotate at the same time with the camera. 0 Answers