Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question How to avoid this type of glithes

Discussion in 'Physics' started by Eldirfar, Aug 11, 2020.

  1. Eldirfar

    Eldirfar

    Joined:
    Feb 9, 2014
    Posts:
    65
    Hello, I want to make some type of robot war game and wandering if Unity Physics is good for it. With the first tests, I encounter some glitches like in the video below.
    The setup looks like a body with 1000 mass and 20 mass for each wheel. Hammer is attached with a hinge joint with a mass 10. All rigidbodies collision detection is set to continuous dynamic.

    Any idea how to prevent this kind of glitches?



    I noticed that this also occurs when another car just hit hammer even when the motor is disabled on the hinge joint.
     
    Last edited: Aug 11, 2020