I want the camera to be for example 10 units away from an object, but not behind it.
But not like this, because the camera always will be behind the object:
cameraPosition = objectPosition + object.Backwards * 10;
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Often it looks better for it to be located up a little also, for example:
This places the camera behind and above the object. And has it kind of looking past the object which is good for a camera following a car.
The sky is the limit on adjustments here, you can even use input to modify it some.