x


Smooth Follow Rotation

The smooth follow camera follow from the side instead of from the back. What can I do about this? How can I change what direction it is looking at (preferably without having to rotate the model in blender, because all other scripts are for it's current rotation)?

more ▼

asked May 14 '11 at 08:53 AM

Muzz 1 gravatar image

Muzz 1
548 52 59 71

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

You want to have the camera with smooth follow on, look at another direction instead of from the back?

If I understand correctly I would:

  1. Create a empty gameObject.

  2. Position the empty gameObject where you want it.

  3. Rotate the empty gameObject, how you want it.

  4. Make the empty gameObject a children of the model you created.

  5. Make the target of the smooth follow your empty gameObject.

There! Now you can rotate the empty gameObject, and the camera will rotate with it and still "follow" the model you created.

Please ask if you have any questions, or tell me if I misunderstood the question. :P

more ▼

answered May 14 '11 at 10:22 AM

OrangeLightning gravatar image

OrangeLightning
5.3k 47 57 111

(comments are locked)
10|3000 characters needed characters left

Can you explain more I want Camara to follow the player and when player rotate camera has to rotate as well

more ▼

answered Sep 23 '11 at 07:15 PM

saneera gravatar image

saneera
1 1 1 2

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x5057
x3444
x2986
x315
x207

asked: May 14 '11 at 08:53 AM

Seen: 2495 times

Last Updated: Sep 23 '11 at 07:15 PM