Search Unity

Question Particle effect not visible when on edge between 2 tiles

Discussion in '2D' started by Bananenklaus420, May 31, 2023.

  1. Bananenklaus420

    Bananenklaus420

    Joined:
    May 25, 2023
    Posts:
    1
    Hi! i‘m making a 2D top down rpg and i noticed something weird

    i‘m using a particle effect as a child-object on my player and a tilemap for the ground. The particle effect plays when the player dashes and it‘s working fine but only when i‘m really on a tile, as soon as i get closer to the edge of one side, the particles become less visible and when i‘m walking directly on the edge between 2 tiles, the particle effect isn‘t visible at all.

    Via debuglog i can confirm that the particles get emitted but it just won‘t show up

    i‘ve put the tilemap on the lowest layer order and my player really high but it doesn‘t help. The tilemap has no collider and when i delete some tiles and just walk on the background on the „theoretical“ edge of 2 tiles, the particles are visible

    does anyone know a fix for this?
     
    Last edited: May 31, 2023