Skip to content

behavior: Fix hulk kicking opponents kickoff - #2945

Merged
Dampfwalze merged 2 commits into
HULKs:mainfrom
Dampfwalze:fix/kicking-opponent-kickoff
Oct 7, 2026
Merged

Dampfwalze merged 2 commits into
HULKs:mainfrom
Dampfwalze:fix/kicking-opponent-kickoff

Conversation

@Dampfwalze

Copy link
Copy Markdown
Contributor

Why? What?

When the opponent has kickoff, the hulk used to go and kick it. This PR adds a behaviour condition that makes it stand still and look at the ball.

How to Test

  1. Run the new opponent_kickoff scenario in the bevyhavior_simulator:
cargo test -p bevyhavior_simulator --bin opponent_kickoff
cargo run -p bevyhavior_simulator --bin opponent_kickoff
  1. On the Robot, set up a scenario, where the opponent has kickoff.

Comment thread crates/nodes/behavior_node/src/conditions.rs Outdated
@pejotejo pejotejo self-assigned this Oct 4, 2026
Comment thread crates/nodes/behavior_node/src/tree.rs Outdated
@Dampfwalze
Dampfwalze force-pushed the fix/kicking-opponent-kickoff branch 2 times, most recently from 6a40e5b to 14fa6b8 Compare October 4, 2026 17:03
@Dampfwalze
Dampfwalze requested a review from pejotejo October 4, 2026 17:05
@Dampfwalze
Dampfwalze force-pushed the fix/kicking-opponent-kickoff branch from c1e6b98 to 328616c Compare October 7, 2026 17:10
@Dampfwalze
Dampfwalze added this pull request to the merge queue Oct 7, 2026
Merged via the queue into HULKs:main with commit 6edd481 Oct 7, 2026
8 checks passed
@Dampfwalze
Dampfwalze deleted the fix/kicking-opponent-kickoff branch October 7, 2026 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants