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.
Supported Unity Versions
- 2022.3 (LTS)
- 2023.3 (Latest Beta and beyond)
Package installation
To use the Unity Physics package, you must have a supported version of Unity 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
- 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.
- Compound collider gets created even if children are disabled in Editor's game object hierarchy.
- 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.