Search Unity

Resolved Unity Physics status of TerrainCollider

Discussion in 'DOTS Dev Blitz Day 2022 - Q&A' started by TheOtherMonarch, Dec 7, 2022.

  1. TheOtherMonarch

    TheOtherMonarch

    Joined:
    Jul 28, 2012
    Posts:
    866
    The MonoBehaviour PhysX implementation never separated the terrain from the terrain collider. When the official DOTS terrain comes out, keeping the graphics separate from the actual collider must remain. Without separating the graphics and colliders, multi-worlds end up with needless overhead; you may also want a higher graphics resolution than your collider resolution.


    What is the status of the TerrainCollider? I have not investigated, but it has been reported that the TerrainCollider sometimes gives odd collision results. The TerrainCollider shows up in the API but not in the manual. Can we expect it to work correctly in 1.0?
     
  2. IsaacsUnity

    IsaacsUnity

    Unity Technologies

    Joined:
    Mar 1, 2022
    Posts:
    94
    Thank you for the question! The TerrainCollider should be working as expected, but we continue to find ways to improve and stabilize our APIs across all of our ECS for Unity packages. If you notice an issue with the TerrainCollider, please don't hesitate to submit a bug report, because ECS for Unity is now a supported feature.

    On a side note, would you be able to share more information about the odd collision results that you are referencing?
     
  3. TheOtherMonarch

    TheOtherMonarch

    Joined:
    Jul 28, 2012
    Posts:
    866