i am trying to make a sniper rifle that shoot piercing bullet. by piercing bullet i mean that the bullet will pass through x number of enemies before stopping. i already made most of the gun script but now i am stuck at making piercing bullet.so my question is how can i make a piercing bullet?
i am currently using a raycast to shoot so my best guest is using layers but im not sure how.
↧