2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 13:44:56 +00:00

Follow 30-degree rule when exiting morph ball

This commit is contained in:
Jack Andersen
2018-06-21 14:45:29 -10:00
parent 718d2cb29e
commit 4a19b160b9
3 changed files with 3 additions and 3 deletions

View File

@@ -1517,7 +1517,7 @@ void CBallCamera::UpdateTransitionFromBallCamera(CStateManager& mgr)
deltaFlat.z = 0.f;
if (deltaFlat.magnitude() > 0.001f)
{
SetTransform(zeus::lookAt(splinePoint, eyePos));
SetTransform(zeus::lookAt(splinePoint, zeus::CVector3f::lerp(x1d8_lookPos, eyePos, morphFactor)));
}
else
{