com.unity.physics 1.0.0-pre.44

com.unity.physics

Source docs
Notes: processedReleased February 16, 2023

Browse versions

PreviousNext

Unity Compatibility

Minimum Unity: 2022.2 (2f1)

Package Dependencies

Features

  • legacy icons to the physics authoring components `PhysicsShape` and `PhysicsBody`.
  • Help icon now always points to latest version of documentation for physics authoring components
  • Unit tests for Motors
  • Unit tests for some Jacobian methods
  • Internal API to help with connecting bodyB to bodyA for joints/motor configuration

📈 Improvements

  • Added functions that allow you to set impulse event threshold on all constraint joints, or only one of them.
  • Replaced PhysicsTransformAspect with TransformAspect
  • Increased testing of position motor in Position Motor demo scene, and re-enabled Position Motor package test.
  • Cleanup and simplification of position motor joint code
  • Use of `TransformAspect.WorldPosition`, `TransformAspect.WorldRotation`, `TransformAspect.WorldScale` when using Transform\_V2 instead of `TransformAspect.Position`, `TransformAspect.Rotation`, `TransformAspect.Scale`.
  • `BaseShapeBakingSystem` and `BuildCompoundCollidersBakingSystem` have been modified to use `IJobEntity` instead of `Entities.ForEach()`.

API Changes

  • `Attributes.cs` script has been removed since the `com.unity.properties` package is part of the editor as a module.
  • the gap left due to the old references being removed on the .asmdef files.

🔧 Bug Fixes

  • Fixed bug when an extra ConfigurableJoint constraint was created when baking a motored Configurable Joint
  • Fixed bug where target wasn't calculated correctly when baking a motored Configurable Joint
  • Duplicate component error when switching Smoothing type to anything but None in Physics Body
  • Immediately reset component in PhysicsShapeAuthoring's Reset() function to avoid sequential coupling issues
  • During conversion from Game Object physics joints to Unity Physics joints the joint's spring coefficient is correctly considered.