mirror of https://github.com/AxioDL/metaforce.git
CWarWasp: Amend damping radius value within ApplyNormalSteering()
GM8E v0-00 uses 2.5 for the second Arrival() damping radius value, not 3.0.
This commit is contained in:
parent
cbf7140d21
commit
f675bc3857
|
@ -310,7 +310,7 @@ void CWarWasp::ApplyNormalSteering(CStateManager& mgr) {
|
||||||
CBCLocomotionCmd(x45c_steeringBehaviors.Arrival(*this, teamPos, 3.f), zeus::skZero3f, 1.f));
|
CBCLocomotionCmd(x45c_steeringBehaviors.Arrival(*this, teamPos, 3.f), zeus::skZero3f, 1.f));
|
||||||
zeus::CVector3f target = GetTranslation();
|
zeus::CVector3f target = GetTranslation();
|
||||||
target.z() = float(teamPos.z());
|
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) {
|
if (moveVec.magSquared() > 0.01f) {
|
||||||
x450_bodyController->GetCommandMgr().DeliverCmd(CBCLocomotionCmd(moveVec, zeus::skZero3f, 3.f));
|
x450_bodyController->GetCommandMgr().DeliverCmd(CBCLocomotionCmd(moveVec, zeus::skZero3f, 3.f));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue