Files
tbd-station-14/Content.Shared/Friction/TileFrictionModifier.cs
metalgearsloth 8291c681ae Tile friction ECS (#8012)
* Tile friction ECS

Removes some resolves which is really nice.

* Velocity checks
2022-05-08 16:02:42 +10:00

15 lines
437 B
C#

namespace Content.Shared.Friction
{
[RegisterComponent]
[Friend(typeof(SharedTileFrictionController))]
public sealed class TileFrictionModifierComponent : Component
{
/// <summary>
/// Multiply the tilefriction cvar by this to get the body's actual tilefriction.
/// </summary>
[ViewVariables(VVAccess.ReadWrite)]
[DataField("modifier")]
public float Modifier;
}
}