target hud

hi,

i’m working in a game with Augmented Reality, like game ARDefender (see www.ardefender.com) and I got problem with
the red dot (target) …

how can I do my model/player (a 3d char in the middle of scene) always turns his direction to my red dot (target) ?

please, see that game i mentioned for reference for my first question.

var target :Transform;

function update(){
 transform.LookAt(target);
}

Attach this to your char. Drag the red dot object to the target slot in the inspector and your char should be looking at it at all time.