Skip to content
Snippets Groups Projects
Commit 6a45fe15 authored by Florian Schröder's avatar Florian Schröder
Browse files

Update overcooked_environment.py

parent 6f4097a7
No related branches found
No related tags found
1 merge request!16Resolve "Fix player collision: Can push other players into each others, can push players out of the world"
Pipeline #42250 passed
......@@ -230,7 +230,6 @@ class Environment:
old_pos_other = collided_player.pos.copy()
self.perform_movement(collided_player, pushing_vector)
# collided_player.move(pushing_vector * (collided_player.move_dist / 2))
if self.detect_collision_counters(
collided_player
) or self.detect_collision_world_bounds(collided_player):
......
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