com.unity.physics 1.0.8
Source docsNotes: processedReleased May 11, 2023
Unity Compatibility
Minimum Unity: 2022.2 (15f1)
Package Dependencies
- com.unity.burst (1.8.4)
- com.unity.collections (2.1.4)
- com.unity.entities (1.0.8)
- com.unity.mathematics (1.2.6)
- com.unity.modules.imgui (1.0.0)
- com.unity.modules.jsonserialize (1.0.0)
✨ Features
- Add `PhysicsWorldIndexAuthoring` component which allows specifying non-default world indices for bodies which are modeled using a `Rigidbody` component.
📈 Improvements
- With the removal of the custom Unity Physics authoring experience, a behavior change has been introduced when mixing built-in physics authoring components with custom physics authoring components. It is now no longer supported to add built-in colliders, such as the Box Collider, to a rigid body created using the `PhysicsBodyAuthoring` component. The inverse however, adding `PhysicsShapeAuthoring` components to a rigid body created using the built-in `Rigidbody` component, is still supported.
- Updated Burst version to 1.8.4
⚡ API Changes
- UpgradePhysicsData window has been removed.
- The custom Unity Physics authoring experience, built around the `PhysicsBodyAuthoring` and `PhysicsShapeAuthoring` components, has been removed from the package and turned into a package sample. It is recommended to use the built-in physics authoring components instead, e.g., the `Rigidbody` and collider components. To continue using the custom authoring experience in your projects, simply import the *Custom Physics Authoring* sample from the Unity Physics package into your project via the Package Manager window.
- Dependency on com.unity.test-framework
🔧 Bug Fixes
- Colliders created from PhysicsShapeAuthoring components with the "Force Unique" flag set to true now are ensured to have unique collider blobs that are not shared across rigid bodies when they have identical properties, thus enabling runtime modification of individual colliders.
