Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nader performance #9

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Nader performance #9

wants to merge 5 commits into from

Conversation

naderzare
Copy link
Member

No description provided.

@@ -360,7 +360,7 @@ def do_wait_turn(self,
return True

extra_buf = 0.1 * bound(0, info.reach_cycle() - 1, 4)
angle_diff = (wm.ball().vel().th() - wm.self().body()).abs()
angle_diff = (wm.ball()._vel_th - wm.self()._body).abs()
Copy link
Member

@Arefsa78 Arefsa78 Jan 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_vel._th
add _th member to vector2d maybe?

@@ -475,10 +475,10 @@ def do_inertia_dash(self,
my_inertia = wm.self().inertia_point(info.reach_cycle())
face_point = self._face_point
if not face_point.is_valid():
face_point.assign(50.5, wm.self().pos().y() * 0.75)
face_point.assign(50.5, wm.self()._pos.y() * 0.75)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_pos._y

lib/action/intercept_player.py Show resolved Hide resolved
lib/action/intercept_self.py Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants