swb_shared/MovementImpact.cs

A small data struct used by the shared movement system. It represents a temporary modifier to desired velocity with an Amount multiplier and a Duration timer.

namespace SWB.Shared;

public struct MovementImpact
{
	/// <summary>Modifies the velocity (WishVelocity *= Amount) [1 = none]</summary>
	public float Amount = 1f;
	public TimeUntil Duration = 0;

	public MovementImpact() { }
}