- 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.
46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
%YAML 1.1
|
|
%TAG !u! tag:unity3d.com,2011:
|
|
--- !u!114 &11400000
|
|
MonoBehaviour:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 0}
|
|
m_Enabled: 1
|
|
m_EditorHideFlags: 0
|
|
m_Script: {fileID: 11500000, guid: 81da55e0fcf99d34693cbc5a348225c3, type: 3}
|
|
m_Name: PLY_PlayerMovementConfig
|
|
m_EditorClassIdentifier:
|
|
RunSpeed: 7
|
|
AirDragFactor: 1
|
|
JumpForce: 18
|
|
CoyoteTime: 0.12
|
|
FallGravityMult: 1
|
|
MaxFallSpeed: 20
|
|
JumpCutMultiplier: 0.054
|
|
MinJumpTime: 0.08
|
|
ApexThreshold: 3
|
|
ApexGravityMultiplier: 0.3
|
|
MaxAirJumps: 5
|
|
DoubleJumpForce: 14
|
|
DashSpeed: 20
|
|
DashDuration: 0.25
|
|
DashCooldown: 0.4
|
|
DashInvincibilityDuration: 0.2
|
|
DashInvincibilityCooldown: 0.9
|
|
DownDashSpeed: 22
|
|
DownDashDuration: 0.25
|
|
WallSlideSpeed: 3
|
|
WallHangSpeed: 1
|
|
WallRayLength: 0.37
|
|
WallRayOffsetY: 0.2
|
|
WallGrabHeightTolerance: 0.05
|
|
WallCoyoteTime: 0.12
|
|
WallJumpAwayForceX: 10
|
|
WallJumpAwayForceY: 14
|
|
WallJumpTowardForceX: -6
|
|
WallJumpTowardForceY: 14
|
|
WallJumpInputLockDuration: 0.15
|
|
DefaultGravityScale: 5
|