Idea Bullet's collision in top-down game

Roalinn

Member
I'm making a top-down game. But i could't decide about bullet's collision.

i have a bullet and bullet's shadow on ground. And the enemy is slime.



My question is, slime damages, bullet wherever it touches ?
slime take damage when collision with shadow ? or with bullet ?

if i choose shadow sometimes it looks strange. I think it won't hit but it hits. What do you think i can do ?
 

Attachments

Niels

Member
Maybe remove the shadow for clarity? Or have a rectangle that covers both shadow and bullet as collision mask?
 
Top