I used transform.LookAt() for my rotation

I just used this line in my AttackTarget() method and it seems to be doing the same:

transform.LookAt(target);
1 Like

Well, this one made me chuckle.
When compared to lecture’s code, I can’t see any difference in behaviour.

Congrats on finding a cleaner solution jimstav!

1 Like

Thanks Lekteroi :slight_smile: I just remembered it from the “Realm Rush” section and used it. I think the only difference is that it lacks the turning speed which Rick implemented.

Privacy & Terms