Author Topic: [BUG] Jumpers can clip through water-overlapped terrain  (Read 183 times)

0 Members and 1 Guest are viewing this topic.

Offline WillLem

  • Moderator
  • Posts: 3480
  • Unity isn't sameness, it's togetherness
    • View Profile
[BUG] Jumpers can clip through water-overlapped terrain
« on: April 10, 2024, 11:55:58 AM »
Reported by Paiy on Discord.

This bug was introduced by allowing Jumpers to be assigned to Swimmers. The attached level and replay show the bug; repeatedly assigning Jumpers to a Swimmer whilst the water overlaps terrain allows the lemming to clip-Jump through the terrain.

This is because lems are first raised by 1px when jumping from water; we need to make sure that no terrain occupies that pixel.

Fixed in Commit 45325d65f.