so i am using the unity head look script and for some reason he keeps looking up…i dont think it has a target but theres no place to add one so i put a cube in and i need it to find where the cube is all the time
and set the var in the script as that… it think it has to be like the 3 vectors (0,0,0) are something. hopefully some smart ppl will answer cause this seems hard. ![]()
You need to set the target point explicitly from a script:-
var hl: HeadLookController;
function Update() {
hl.target = transform.position;
}