Skip to content

Commit e6f5a86

Browse files
committed
Small adjustmnet
1 parent 7a59238 commit e6f5a86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1399,7 +1399,7 @@ void updateCam3pNfsAlgorithm()
13991399
Vector3f targetPos = vehPos + (up * heightOffset3P) + ((currentTowHeightIncrement + heigthOffset) * up) + (vehForwardVector * finalPivotFrontOffset);
14001400
targetPos += /*smoothQuat3P*/ dirQuat3P * back * distIncFinal /* * (0.5f * (clamp01(vehSpeed * 0.7f)))*/;
14011401

1402-
targetPos += smoothVelocity * highSpeedFactor * (1.f - smoothIsInAir) * max(((vehAcceleration * VEHICLE::GET_VEHICLE_ACCELERATION(veh)) * 250.f), 0.f);
1402+
targetPos += smoothVelocity * highSpeedFactor * (1.f - smoothIsInAir) * max(((vehAcceleration * VEHICLE::GET_VEHICLE_ACCELERATION(veh)) * 250.f), 0.f) * 0.45f;
14031403

14041404
Vector3f velocityDir = targetPos - prevCamPos;
14051405

0 commit comments

Comments
 (0)