Skip to content

Commit

Permalink
fix(spectator): fix collider on spectators to improve hitbox
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Hermann committed Dec 5, 2024
1 parent e1bc95c commit 6327bff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/game/actors/spectator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class Spectator extends Actor {
height: Config.SPECTATOR_HEIGHT,
rotation: toRadians(rotation),
collisionType: CollisionType.Active,
collider: new CircleCollider({ radius: 10, offset: vec(-1, 1) })
// collider: new CircleCollider({ radius: 10, offset: vec(-1, 1) })
});

const randomizer = Math.random();
Expand Down

0 comments on commit 6327bff

Please sign in to comment.