mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-18 13:28:09 +00:00
Visual Debugger implementation
This commit is contained in:
@@ -78,7 +78,7 @@ void ProjectileAttackBehavior::Calculate(BehaviorContext* context, RakNet::BitSt
|
||||
|
||||
const auto position = entity->GetPosition() + this->m_offset;
|
||||
|
||||
const auto distance = Vector3::Distance(position, other->GetPosition());
|
||||
const auto distance = NiPoint3::Distance(position, other->GetPosition());
|
||||
|
||||
const auto time = distance / this->m_projectileSpeed;
|
||||
|
||||
|
Reference in New Issue
Block a user