mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Bump physics speed cap (#5667)
This commit is contained in:
@@ -1349,10 +1349,10 @@ namespace Robust.Shared
|
||||
/// 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.
|
||||
@@ -1364,7 +1364,6 @@ namespace Robust.Shared
|
||||
public static readonly CVarDef<float> MaxAngVelocity =
|
||||
CVarDef.Create("physics.maxangvelocity", 15f);
|
||||
|
||||
|
||||
/*
|
||||
* User interface
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user