My game is working as per the lecture. However something I noticed on the lecture was initially Rick hadn’t ticked ‘is trigger’ on the Goobers box collider. This meant that the trigger code didn’t work. However the Goober was colliding with and moving the player - presumably because of either its box collider or its capsule collider. However despite having a hard collision with the player it was still able to move through Rick’s wall. The wall forms part of the platform tilemap and I thought we had also added a tilemap and composite collider there (hence the wall stops the player). My game is behaving in the exact same way. In my game when I set untick the ‘is trigger’ box on the Goober I get the same ‘walk through walls’ effect as Rick. Why is the wall stopping the player but not the enemy?
Thanks,
K