Search found 2 matches

by HeraldDeus
Mon May 29, 2023 12:00 pm
Forum: Dialogue System for Unity
Topic: Adding turn speed to LookAt disrupts the camera angle
Replies: 3
Views: 209

Re: Adding turn speed to LookAt disrupts the camera angle

Yes the camera is a child of the player. Your code seemed to do the job, thank you!
by HeraldDeus
Mon May 29, 2023 8:06 am
Forum: Dialogue System for Unity
Topic: Adding turn speed to LookAt disrupts the camera angle
Replies: 3
Views: 209

Adding turn speed to LookAt disrupts the camera angle

I am trying to make an NPC turn to the player when is entering a dialogue. The code below works fine when I dont add speed to LookAt. However, once I add movement speed to LookAt, the camera moves to front of the NPC while the NPC turns around to the player. My guess is that Camera changes the angle...