mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-09 20:24:16 +00:00
fix the lookat
This commit is contained in:
@@ -16,7 +16,7 @@ void ChangeOrientationBehavior::Calculate(BehaviorContext* context, RakNet::BitS
|
|||||||
if (self == nullptr || other == nullptr) return;
|
if (self == nullptr || other == nullptr) return;
|
||||||
|
|
||||||
const auto source = self->GetPosition();
|
const auto source = self->GetPosition();
|
||||||
const auto destination = self->GetPosition();
|
const auto destination = other->GetPosition();
|
||||||
|
|
||||||
if (m_OrientCaster) {
|
if (m_OrientCaster) {
|
||||||
auto* baseCombatAIComponent = self->GetComponent<BaseCombatAIComponent>();
|
auto* baseCombatAIComponent = self->GetComponent<BaseCombatAIComponent>();
|
||||||
|
Reference in New Issue
Block a user