18 lines
570 B
C#
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;
|
|
}
|
|
}
|