Initial Combat Implementation

This commit is contained in:
Luis Gonzalez
2026-05-31 21:35:12 -07:00
parent 7fa77ce821
commit 1f647dd5e1
166 changed files with 93337 additions and 91 deletions
@@ -0,0 +1,15 @@
using Unity.Entities;
namespace ProjectM.Simulation
{
/// <summary>
/// Hit-test radius (world units) for a damageable entity. Baked identically on client and server
/// from authoring so projectile collision is deterministic; consumed server-side by
/// ProjectileDamageSystem to decide whether a projectile struck this entity. Not replicated.
/// </summary>
public struct HitRadius : IComponentData
{
/// <summary>Collision radius in world units; the projectile hit test compares planar (XZ) distance against this.</summary>
public float Value;
}
}