<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Area on PlumePHP</title><link>https://plumephp.com/tags/area/</link><description>Recent content in Area on PlumePHP</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Tue, 03 Mar 2026 10:18:00 +0800</lastBuildDate><atom:link href="https://plumephp.com/tags/area/index.xml" rel="self" type="application/rss+xml"/><item><title>Godot 物理层与碰撞矩阵：别让 Area、Body 和射线互相误伤</title><link>https://plumephp.com/godot-physics-layers-collision-matrix-2026/</link><pubDate>Tue, 03 Mar 2026 10:18:00 +0800</pubDate><guid>https://plumephp.com/godot-physics-layers-collision-matrix-2026/</guid><description>&lt;h2 id="碰撞问题往往不是物理引擎错了"&gt;碰撞问题往往不是物理引擎错了&lt;/h2&gt;
&lt;p&gt;Godot 的物理系统已经把很多底层细节封装好了：RigidBody、CharacterBody、Area、CollisionShape、RayCast、PhysicsServer。真正让项目出问题的，通常不是物理引擎算错，而是层和掩码没有设计。角色能撞到金币，子弹打到自己的触发区，敌人射线被装饰物挡住，交互 Area 同时触发战斗伤害，这些都来自碰撞矩阵混乱。&lt;/p&gt;</description></item><item><title>Godot 可交互对象系统：提示、条件、优先级和交互事务</title><link>https://plumephp.com/godot-interactable-object-system-2026/</link><pubDate>Thu, 15 Jan 2026 17:04:00 +0800</pubDate><guid>https://plumephp.com/godot-interactable-object-system-2026/</guid><description>&lt;h2 id="交互对象越多越不能各写各的"&gt;交互对象越多，越不能各写各的&lt;/h2&gt;
&lt;p&gt;游戏里到处都是可交互对象：NPC、宝箱、门、机关、采集点、传送门、任务物品、商店牌、剧情触发器。原型阶段，每个对象自己放一个 Area，玩家进入后显示提示，按键触发。功能多了之后，问题就会出现：多个对象重叠时提示谁？战斗中能不能交互？条件不足怎么提示？交互后要不要等服务端？离开范围时事务怎么处理？&lt;/p&gt;</description></item></channel></rss>