feat: Enhance Physics Perception System with new detection modes and performance optimizations

- Updated PhysicsPerceptionSystem to support seven detection modes: RangeCircle, BatchLOS, FanCast, BoxCast, Sight, RayCast, and TriggerZone.
- Improved documentation for each detection mode, including performance optimization strategies.
- Introduced PerceptionTriggerProxy for event-driven detection in TriggerZone slots.
- Added SightBatchSystem to manage Sight slots efficiently, reducing CPU spikes during high enemy counts.
- Updated SensorSlotNames to reflect new detection modes and their purposes.
- Enhanced internal logic for detecting targets and managing detection events.
This commit is contained in:
2026-06-02 23:18:20 +08:00
parent 150440495d
commit d27ae9407d
17 changed files with 1946 additions and 335 deletions

View File

@@ -12,13 +12,14 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: 81da55e0fcf99d34693cbc5a348225c3, type: 3}
m_Name: PLY_PlayerMovementConfig
m_EditorClassIdentifier:
RunSpeed: 6
RunSpeed: 7
AirDragFactor: 1
JumpForce: 17.5
JumpForce: 18
CoyoteTime: 0.12
FallGravityMult: 2
MaxFallSpeed: 15
JumpCutMultiplier: 0.321
FallGravityMult: 1
MaxFallSpeed: 20
JumpCutMultiplier: 0.054
MinJumpTime: 0.08
ApexThreshold: 3
ApexGravityMultiplier: 0.3
MaxAirJumps: 5