Search Unity

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

Question Wheel collider causing bouncing.

Discussion in 'Physics' started by Thundrbug, Aug 16, 2023.

  1. Thundrbug

    Thundrbug

    Joined:
    Sep 21, 2022
    Posts:
    19
    I have several cars for a little low poly racing game but when you reach a certain speed forwards or backwards the front of the car will bounce up like the below. At slow speeds its fine. Anyone encountered something like this before?
    upload_2023-8-16_10-59-4.png
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,843
    Maybe colliders are to close together so they will clip into eachother or the ground?
    Are there rigidbody active? If so, what collision detection mode?
     
  3. Thundrbug

    Thundrbug

    Joined:
    Sep 21, 2022
    Posts:
    19
    Thanks for the reply. The colliders look like this upload_2023-8-16_11-14-54.png

    Rigidbody is set to discrete.
     
  4. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,843
    You could try continues rigidbodies.
    Haven't worked with cars a lot, so nut sure about how the colliders work. Maybe download a free car asset on the asset store
     
  5. Thundrbug

    Thundrbug

    Joined:
    Sep 21, 2022
    Posts:
    19
    Tried changing to continuous but same thing happens :(. The model is an asset from the store. Weird thing is I made my own car, which looked a lot worse which is why I got the assets, and it worked just fine with the exact same settings. So im at a loss.

    Found the solution, i just increased the mass. Its strange that it needed a higher mass when my previous one worked fine but hey ho its fixed. Thanks for the help :)
     
    Last edited: Aug 16, 2023
    DevDunk likes this.