fix the lookat

This commit is contained in:
Aaron Kimbre 2023-04-02 22:37:24 -05:00
parent 801ca69778
commit 595afe42e5

View File

@ -16,7 +16,7 @@ void ChangeOrientationBehavior::Calculate(BehaviorContext* context, RakNet::BitS
if (self == nullptr || other == nullptr) return;
const auto source = self->GetPosition();
const auto destination = self->GetPosition();
const auto destination = other->GetPosition();
if (m_OrientCaster) {
auto* baseCombatAIComponent = self->GetComponent<BaseCombatAIComponent>();