Replace distance-based opponent detection with physics sensors and angle filtering for more realistic spatial awareness. Players now detect nearby opponents/teammates through Phaser overlap zones with 180° forward field-of-view. Key changes: - Add detection sensor to Player with physics overlap tracking - Add NEAR_PLAYER_DETECTION_ANGLE constant for FOV filtering - Refactor PuckCarrierBehavior to use physics-based detection - Add debug visualization showing detection arc (wedge shape) - Fix TypeScript unused variable errors for production build 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
12 lines
182 B
JSON
12 lines
182 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(git add:*)",
|
|
"Bash(git commit:*)",
|
|
"Bash(git push:*)",
|
|
"Bash(pnpm run:*)"
|
|
],
|
|
"deny": [],
|
|
"ask": []
|
|
}
|
|
} |