Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Creating "collider" in a ground.fbx

Discussion in 'World Building' started by EHCamero, Sep 25, 2021.

  1. EHCamero

    EHCamero

    Joined:
    May 26, 2021
    Posts:
    2
    Hello,
    I have this ground, from Ragnarok's map, and I would like to put on all those "rocks" areas a type of "collider" so the player cannot walk through them. Anyone have any ideia of how can I do that?

    • I tried to put the colliders objects on the map, however it is a huge work and will take months

    upload_2021-9-25_10-30-0.png
     
  2. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    One of the following:
    • procedural collider generation via a script that will example ground angle etc
    • export terrain as mesh and create mesh colliders
    • adjust character controller slope height in the area
    A random untested asset store search:
    https://assetstore.unity.com/packages/tools/physics/easy-wall-collider-158206

    There are a lot of methods to solve your problem, but nothing is built in except the slope limit on the classic physics character controller, or adding colliders. So some work will need to be done.
     
    EHCamero likes this.
  3. EHCamero

    EHCamero

    Joined:
    May 26, 2021
    Posts:
    2

    Thank you for all the tips, I'll investigate each of them!