Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Sprite2DRendererHitBox2D PixelAccurate Collision Detection

Discussion in 'Project Tiny' started by gizmo_thunder, Jan 24, 2019.

  1. gizmo_thunder

    gizmo_thunder

    Joined:
    Aug 28, 2013
    Posts:
    4
    Hi I was trying the Sprite2DRendererHitBox2D for collision detection. I was able to get it to work without enabling the pixel Accurate checkbox, but i was unable to figure out how to get the pixel accurate collision detection to work.
    Based on the documentation i added a Image2DAlphaMask component to the sprite but with no luck :( Could somebody help me figure out how to fix this issue?
     

    Attached Files:

  2. gizmo_thunder

    gizmo_thunder

    Joined:
    Aug 28, 2013
    Posts:
    4
    .. no pixel accurate hitbox2d users around?