Hey all, I am currently trying to get my enemy to constantly look at the player like they did in the TornadoTwins tutorial and my script is;
#pragma strict
var player : Transform;
function Update ()
{
transform.LookAt(player);
}
I know this is right because I did it before and it worked fine, however now its like whatever object I attach this script to freaks out and the object rocks backwards and forwards and its moving so fast that its transparent. I have tested it with multiple models from and outside of unity. Please help and sorry I can’t explain it better. All I want is a simple lookAt script.