diff --git a/src/plugins/physics.py b/src/plugins/physics.py index 52ef0e2..038149c 100644 --- a/src/plugins/physics.py +++ b/src/plugins/physics.py @@ -173,7 +173,6 @@ def move_entity(entity: Entity, movement: Vec2, disable_callback: bool = False): if normal.y != 0: movement.y *= -1 entity[Velocity].y *= -1 - # movement /= entity.get(Velocity, Vec2(1)) if obstacle is not None and not disable_callback: if not entity.get( CollisionHandler, CollisionHandler(lambda e, o: True) @@ -183,7 +182,6 @@ def move_entity(entity: Entity, movement: Vec2, disable_callback: bool = False): CollisionHandler, CollisionHandler(lambda e, o: True) ).callback(obstacle, entity): break - # movement *= entity[Velocity] counter += 1