docs.unity3d.com
    Show / Hide Table of Contents

    Unity Physics overview

    The Unity Physics package, part of Unity's Data-Oriented Technology Stack (DOTS), provides a deterministic rigid body dynamics system and spatial query system.

    See the Unity Physics Samples for introductory material, including tutorials, samples, and videos.

    Package installation

    To use the Unity Physics package, you must have Unity version 2022.2.0b8 and later installed.

    To install the package, open the Package Manager window (Window > Package Manager) and perform one of the following options:

    • Add the package by its name (com.unity.physics)
    • Add the package from its Git URL

    Known issues

    • Compound collider gets created even if children are disabled in Editor's game object hierarchy.
    • Mesh collider types contacting results in a wrong behaviour by getting glued to each other as if they were joints.
    • Mesh collider simplification: if primitive scale is smaller than 0.018f, selecting entities in the scene view throws error.
    • Moving the child of a game object in a sub scene results in exceptions, when both parent and child have traditional colliders (e.g. box collider component) but no rigidbodies.

    Additional resources

    • Getting started
    • Upgrade guide
    • What's new
    • ECS packages
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023