mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 01:07:43 +00:00
Lots of bug fixes
This commit is contained in:
@@ -815,6 +815,7 @@ void CScriptGunTurret::ProcessTargettingState(EStateMsg msg, CStateManager& mgr,
|
||||
}
|
||||
|
||||
zeus::CVector3f diffVec = x404_targetPosition - GetTranslation();
|
||||
diffVec.z() = 0.f;
|
||||
if (diffVec.canBeNormalized()) {
|
||||
zeus::CVector3f normDiff = diffVec.normalized();
|
||||
float angDif = zeus::CVector3f::getAngleDiff(normDiff, GetTransform().frontVector());
|
||||
|
||||
Reference in New Issue
Block a user