Skip to content

Conversation

naderzare
Copy link
Member

No description provided.


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?

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

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