I don’t get any errors and I believe that his should definitely work, but it doesn’t.
anyone know why?
(the speed variable and the playerNearby bool both work but the object never looks at the target.)
void Update ()
{
if (playerNearby == true && speed > 1.0f)
{
transform.LookAt(target);
}
}