unity-game-enginecollisioncollider

How do I edit this collider to fit my spike sprite size exactly?


Weird collider

Hello, I am using tilemap collider and composite collider on my spike tilemap object. Used by composite is checked on my tilemap collider. These colliders are all 2D. How do I edit this collider to fit exactly to the spike sprite image?

I tried editing the values on both of the colliders but I couldn't find a viable solution.


Solution

  • You can set the collider shapes in the sprite editor using Custom Physics Shape