Skip to content

Commit

Permalink
Merge pull request #3228 from SamaelGray/SamaelGray-RecoilAnimationTw…
Browse files Browse the repository at this point in the history
…eaks

Recoil animation tweaks
  • Loading branch information
N7Huntsman authored Jul 22, 2024
2 parents 71cb3d1 + e9d268d commit 946f3ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/CombatExtended/CombatExtended/CE_Utility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -760,15 +760,15 @@ public static Thing GetWeaponFromLauncher(Thing launcher)
private static readonly SimpleCurve RecoilCurveAxisY = new SimpleCurve
{
new CurvePoint(0f, 0f),
new CurvePoint(1f, 0.05f),
new CurvePoint(2f, 0.075f)
new CurvePoint(1f, 0.03f),
new CurvePoint(2f, 0.04f)
};

private static readonly SimpleCurve RecoilCurveRotation = new SimpleCurve
{
new CurvePoint(0f, 0f),
new CurvePoint(1f, 3f),
new CurvePoint(2f, 4f)
new CurvePoint(1f, 2.5f),
new CurvePoint(2f, 3f)
};

const float RecoilMagicNumber = 2.6f;
Expand Down

0 comments on commit 946f3ae

Please sign in to comment.