增加收获属性逻辑,优化掉落物表现效果

This commit is contained in:
2026-10-05 17:02:29 +08:00
parent d55b1013ca
commit 7590d78e74
53 changed files with 1633 additions and 241 deletions
@@ -3,8 +3,16 @@ namespace SepCore.Simulation
internal struct PickupStateSim : ISimulationComponent
{
public const int StateIdle = 0;
public const int StateAbsorbing = 1;
public const int StateAbsorbRequested = 1;
public const int StateRecoil = 2;
public const int StateDash = 3;
public const int StateCollected = 4;
public int State;
public float PhaseElapsed;
public float IdleElapsed;
public float FloatBaseHeight;
public Unity.Mathematics.float3 RecoilStartPosition;
public Unity.Mathematics.float3 RecoilDirection;
}
}
@@ -5,5 +5,6 @@ namespace SepCore.Simulation
internal struct PickupTransformSim : ISimulationComponent
{
public float3 Position;
public float3 Forward;
}
}