Skip to content

Commit

Permalink
Bump physics speed cap (#5667)
Browse files Browse the repository at this point in the history
  • Loading branch information
metalgearsloth authored Feb 11, 2025
1 parent 6979a63 commit 9e9ac56
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Robust.Shared/CVars.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1349,10 +1349,10 @@ protected CVars()
/// MaxLinVelocity is compared to the dot product of linearVelocity * frameTime.
/// </summary>
/// <remarks>
/// Default is 35 m/s. Around half a tile per tick at 60 ticks per second.
/// Default is 400 m/s in-line with Box2c. Box2d used 120m/s.
/// </remarks>
public static readonly CVarDef<float> MaxLinVelocity =
CVarDef.Create("physics.maxlinvelocity", 35f, CVar.SERVER | CVar.REPLICATED);
CVarDef.Create("physics.maxlinvelocity", 400f, CVar.SERVER | CVar.REPLICATED);

/// <summary>
/// Maximum angular velocity in full rotations per second.
Expand All @@ -1364,7 +1364,6 @@ protected CVars()
public static readonly CVarDef<float> MaxAngVelocity =
CVarDef.Create("physics.maxangvelocity", 15f);


/*
* User interface
*/
Expand Down

0 comments on commit 9e9ac56

Please sign in to comment.