Files
Project-M/Assets/_Project/Scripts/Simulation/Player/PlayerMoveStats.cs
T
2026-05-31 14:27:52 -07:00

18 lines
570 B
C#

using Unity.Entities;
namespace ProjectM.Simulation
{
/// <summary>
/// Per-player movement tunables, baked from authoring. Identical on client (re-prediction) and
/// server so movement is deterministic. Not replicated.
/// </summary>
public struct PlayerMoveStats : IComponentData
{
/// <summary>Planar movement speed in units/second.</summary>
public float MoveSpeed;
/// <summary>Max turn rate (radians/second) when rotating toward the facing direction.</summary>
public float TurnRateRadiansPerSec;
}
}