Search Unity

Terrain collider and 1.0

Discussion in 'Physics for ECS' started by runner78, Apr 7, 2022.

  1. runner78

    runner78

    Joined:
    Mar 14, 2015
    Posts:
    792
    Will there be authoring for ECS 1.0 TerrainCollider? Is there already a way to use Unity Terrain with ECS?
    I know that there is a TerrainCollider, but I haven't found any information on how best to use it with the current terrain.
     
    Neiist likes this.
  2. JMPM-UNITY

    JMPM-UNITY

    Unity Technologies

    Joined:
    Jun 16, 2021
    Posts:
    94
    You can use the PhysicsShape component and select 'mesh' as the shape type. That setup configuration should allow you to generate a TerrainCollider. See picture.
     

    Attached Files:

  3. runner78

    runner78

    Joined:
    Mar 14, 2015
    Posts:
    792
    I wanted to try to make a Unity Terrain and an ECS Bases no-kinematic Character Controller. I did not want to create a custom terrain system for a larger terrain. For testing I used meshes, but I also came across the problem that the Character bounced on mesh edges.
     
    Last edited: Apr 23, 2022
  4. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    It's been a bit longer than a week, and wondered what info might've been gleaned since? :)
     
    Neiist and unity_8p6oRXXqiWbRTQ like this.
  5. Arnold_2013

    Arnold_2013

    Joined:
    Nov 24, 2013
    Posts:
    287
    hippocoder likes this.