-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Description
Task: Fix enemy–Engineer robot interaction (#231).
Feature: (#195 )
Enemies were incorrectly self-destructing when passing through the Engineer’s placed robot. This task revises collision and combat handling so enemies no longer explode on contact and instead pass through while correctly dealing damage to the Engineer’s robot. The fix includes updating collision filters (so robots aren’t treated as PLAYER), routing contact events to the proper combat flow, and ensuring the robot’s health and hit reactions are applied consistently. Acceptance: enemies traversing the robot no longer die instantly; the robot loses health per enemy attack as configured; no path blocking or unintended knockback occurs.
Example (optional)
- Expected Behaviour: Expected Behaviour: An enemy walks through a placed robot, triggers standard attack logic, and reduces the robot’s HP. The enemy continues along its path unless killed by other defenses.
Milestones
List of steps that need to be completed for this task.
- Update collision layer/filter so Engineer robots aren’t treated as PLAYER.(Oct. 19)
- Route contact events to standard damage flow for robots. (Oct. 20)
- Add/adjust tests: enemy contact ≠ self-destruct; robot HP decreases correctly. (Oct. 21)
- Playtest multiple waves; verify no regressions (pathing, VFX, logs). (Oct. 22)
Completion Deadline: Oct. 22
Member
- Guoxin (@guoxinlyu ) (Guoxin Lyu)