- Home /
HeadLookController
I downloaded the HeadLookController Extension from Unity site. I am having 2 issues. One is I get this error message when I press play. The only thing different from the demo project is I have other character controllers and scripts setup on the character so its possible that that is interfering?
NullReferenceException
UnityEngine.Transform+Enumerator.MoveNext () (at C:/BuildAgent/work/6bc5f79e0a4296d6/Runtime/ExportGenerated/Editor/BaseClass.cs:1016)
HeadLookController2.LateUpdate () (at Assets/Scripts/HeadLookController2.cs:79)
My other questions is there a way to get the head to look at game object instead of the cursor. Is there a way to set the target?
Basically what I am trying to do is attach this script to NPCs so when My characters walks by they will turn their heads to look at him and I can't figure out how to do so.
Thanks for any help
Your answer
![](https://koobas.hobune.stream/wayback/20220612095325im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
The name 'Joystick' does not denote a valid type ('not found') 2 Answers
does every body know any video tutorial about head look controller Introduced me please? 1 Answer
Character fall animation 1 Answer
Player Animation and control panel 2 Answers
Not Run while Aiming; Slope Terrain Making Object Faster 0 Answers