Merge pull request #143 from lioncash/steering

CWarWasp: Amend damping radius value within ApplyNormalSteering()
This commit is contained in:
Phillip Stephens 2020-02-03 14:44:39 -08:00 committed by GitHub
commit 28ee845564
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ void CWarWasp::ApplyNormalSteering(CStateManager& mgr) {
CBCLocomotionCmd(x45c_steeringBehaviors.Arrival(*this, teamPos, 3.f), zeus::skZero3f, 1.f));
zeus::CVector3f target = GetTranslation();
target.z() = float(teamPos.z());
zeus::CVector3f moveVec = x45c_steeringBehaviors.Arrival(*this, target, 3.f);
zeus::CVector3f moveVec = x45c_steeringBehaviors.Arrival(*this, target, 2.5f);
if (moveVec.magSquared() > 0.01f) {
x450_bodyController->GetCommandMgr().DeliverCmd(CBCLocomotionCmd(moveVec, zeus::skZero3f, 3.f));
}