Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question How to avoid high speed object to pass through a thin collider?

Discussion in 'Physics for ECS' started by hauwing, Jun 13, 2021.

  1. hauwing

    hauwing

    Joined:
    Dec 13, 2017
    Posts:
    69
    Hi,

    Just a simple question, is there a way to avoid a small but fast-moving object passing through a thin collider (a wall for example)? Thanks
     
  2. steveeHavok

    steveeHavok

    Joined:
    Mar 19, 2019
    Posts:
    481
    Unity Physics has a continuous collision detection approach, so the bullet through paper problem should not happen. If you are seeing this issue then there is a bug in setup or simulation. Do you have a repro test case you can share?
     
    Occuros likes this.
  3. hauwing

    hauwing

    Joined:
    Dec 13, 2017
    Posts:
    69
  4. VincentSai1984

    VincentSai1984

    Joined:
    Sep 7, 2020
    Posts:
    9
    Because you're using joint, joint have another algorithm.
    You can increase solver iteration count to fix your problem