Search Unity

Rigidbody Compound Colliders on Terrain

Discussion in 'Physics' started by Wintermute-, Jan 5, 2019.

  1. Wintermute-

    Wintermute-

    Joined:
    Sep 5, 2017
    Posts:
    56
    Hi,

    I noticed that when I place an object that has a rigidbody component and compound colliders, on the terrain it starts to jitter.

    I have tried to change the terrain material, physics manager settings values, and the settings of the rigidbody of the object but it does not stop the shaking. The only time that I was able to fix the issue was when I added the compound colliders to the same child. But I can only do that for certain objects in the game. For some I need to change the rotations of the collider, so they need to be in individual childs.

    Could it be a setting on the terrain? When I place the object on non-terrain meshes it works fine.

    Version that I am using is Unity 2018.26f1. I can’t change to the newest Unity version because I am working on a VR game and it had a problem with the continuous collision on VR when I tried it, don’t know if it is fixed yet.

    My terrain settings are:

    Pixel error: 60

    Thickness: 5

    With 300:

    Length 300 height: 50

    Hight res: 513

    Detail res: 1008

    Detail res per patch: 16

    Control texture res: 2048

    Base texture res: 16

    Thanks!
     
    Last edited: Jan 5, 2019