Skip to content
Snippets Groups Projects
Commit 84537aaf authored by Fabian Heinrich's avatar Fabian Heinrich
Browse files

Updated facing point and player reach

parent 4e5655aa
No related branches found
No related tags found
No related merge requests found
Pipeline #49275 failed
......@@ -133,11 +133,7 @@ class Player:
def update_facing_point(self):
"""Update facing point on the player border circle based on the radius."""
self.facing_point = self.pos + (
self.facing_direction
* self.player_config.radius
* self.player_config.interaction_range
)
self.facing_point = self.pos + (self.facing_direction * 0.6)
def can_reach(self, counter: Counter) -> bool:
"""Checks whether the player can reach the counter in question. Simple check if the distance is not larger
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment