Search Unity

How make particles run pass an rigibody?

Discussion in 'Physics' started by Xhitman, Jul 17, 2018.

  1. Xhitman

    Xhitman

    Joined:
    Oct 30, 2015
    Posts:
    452
    My case is: character A attack character B by flamethrower, and B attack A by pistol

    My current setting is:

    A, B: many box colliders on trigger,(head, chest, foot, etc), no rigibody

    Flamethrower: particle system with collision, script use OnParticleCollision()

    bullet from pistol: box collider, rigibody

    My current problem that is the bullet can hit the flame(particle) away, it doesn't make sense. I want the flame can ignore the bullet and hit B.