mirror of https://github.com/AxioDL/metaforce.git
Merge remote-tracking branch 'origin/main' into dawn
This commit is contained in:
commit
b2b03f1ace
|
@ -653,7 +653,7 @@ void CMorphBall::ApplySpiderBallRollForces(const CFinalInput& input, CStateManag
|
|||
x18b4_linVelDamp = 0.4f;
|
||||
x18b8_angVelDamp = 0.2f;
|
||||
float viewControlMag = viewSurfaceForces.dot(x189c_spiderInterpBetweenPoints.normalized());
|
||||
if (continueTrackForce && x1920_spiderForcesReset) {
|
||||
if (continueTrackForce && !x1920_spiderForcesReset) {
|
||||
viewControlMag = x1918_spiderViewControlMag;
|
||||
} else {
|
||||
x1918_spiderViewControlMag = viewControlMag;
|
||||
|
|
|
@ -197,7 +197,7 @@ void CScriptSpiderBallWaypoint::GetClosestPointAlongWaypoints(CStateManager& mgr
|
|||
closestPoint = lastPoint;
|
||||
if (wp->PreviousWaypoint(mgr, ECheckActiveWaypoint::Check) != kInvalidUniqueId) {
|
||||
wp = static_cast<const CScriptSpiderBallWaypoint*>(
|
||||
mgr.GetObjectById(wp->PreviousWaypoint(mgr, ECheckActiveWaypoint::SkipCheck)));
|
||||
mgr.GetObjectById(wp->PreviousWaypoint(mgr, ECheckActiveWaypoint::Check)));
|
||||
deltaBetweenPoints = lastPoint - wp->GetTranslation();
|
||||
interpDeltaBetweenPoints = deltaBetweenPoints;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue