is there any way to smooth the LookAt comand?.. i mean, i want to make a enemy aim his gun to my character from time to time… and when he get the character locked on target he shots… but the LookAt comand makes him to turn in the direction of the character in question of milisecounds… thus making the game way too hard
isnt there a way to make him rotate slowly until he is finaly looking at the character?
actualy this is a problem i was also having with the camera… i want to make the camera detach from the character’s back
(i already know how to detach and attach camera using transform.parent )
and then slowly show all the path for the exit… so i use the transform.Lookat code so the camera would look to the exit and the player would learn the path… but since the camera turns so sudently to the exit that is placed a 180 degrees from the character… the player will have no clue where to go and this feature will be even more confusing instead of helpfull