Metasy Guides
  • A Platform for Creators
    • Platform Overview
    • Guide Overview
    • Installation Requirements (Pending Test)
  • Development & Creation
    • Editor
      • Installation & Getting Started
      • Interface Introduction
      • Basic Operations
      • Right-click object properties
    • Scene Introduction
      • Basic Script Sharing
      • Exhibition
      • Game
      • eCommerce
      • Education
      • Gallery
      • Meetings
      • Events
    • UI
    • Characters
    • Unity SDK Installation
      • Download and Installation
      • Uploading Resources(Notice-Need to know)
      • Resource Uploading
    • Adding and Setting Collision Layers in Unity
    • 3D Scanning of Real Objects
    • Language localization
    • Asset Store
  • Creator Center
    • Publishing & Management
      • Operation and Testing
      • Publish Scenes
      • Scene Management (Requirement Phase)
    • Data Center
      • Space Data
      • Space Analysis
    • Managing Communities
    • Team Collaboration
    • Creator Earnings
      • Withdraw
      • Profit Share
      • Task System
      • Events Revenue
    • Help Center
  • Subscription
    • Basic Version
    • Enterprise Version
  • Log Updates
  • Forum(Discord)
Powered by GitBook
On this page
  • Adding Collision Layers
  • Adding Colliders
  • Setting Collision Layers
  1. Development & Creation

Adding and Setting Collision Layers in Unity

PreviousResource UploadingNext3D Scanning of Real Objects

Last updated 1 year ago

Adding Collision Layers

1. After opening Unity, click on "Layers" in the top right corner to expand the options, and then click on "Edit Layers" in the options to enter the editing interface.

  1. In the editing interface, enter the name of the layer you want to add, such as "Wall".

Adding Colliders

Double-click to open the asset that you need to add a collider to, select the child object that needs a collider, and in the Inspector, click "Add Component" to search for and add either "Mesh Collider" or "Box Collider".

Setting Collision Layers

After adding the collider, set the layer of the entire asset that has the added collider to the "Wall" layer.