com.unity.physics 1.0.0-pre.15

com.unity.physics

Notes: processedReleased November 23, 2022

Browse versions

PreviousNext

Unity Compatibility

Minimum Unity: 2022.2 (0f1)

Package Dependencies

Features

  • For all 4 motor types, added a new field for the maximum impulse that can be exerted by the motor constraint
  • GameObjects that use axis-aligned motors are now converted during baking
  • `[CreateBefore(typeof(BroadphaseSystem))]` for `PhysicsSimulationPickerSystem ` within `UnityPhysicsSimulationSystems.cs` script file.
  • Functions that allow you to set impulse event threshold on all constraint joints, or only one of them.

📈 Improvements

  • The UI for each motor type in the Physics Samples has been simplified to allow for more intuitive configuration
  • When creating the constraints for motors, the ordering has been changed so that the motor is always last.
  • The physics baking systems obey the GameObject static flag, in addition to the StaticOptimizeEntity component.
  • Adding '.AsArray()' method to do explicit cast for the test scenes.
  • API for motor creation have an additional argument for the max impulse of a motor. If this argument is not specified, a default value of infinity will be used.
  • naming path for Unity Physics Authoring components and material components.

API Changes

  • Removing dependencies `com.unity.jobs` package.
  • dependency on `com.unity.test-framework.performance` package.

🔧 Bug Fixes

  • For a linear velocity motor using Unity.Physics, fixed a bug where the target wasn't accurate if body was rotated
  • Linear Velocity Motor target calculation fixed for when bodyA is rotated
  • Fixed bug in Position Motor target error calculation for when bodyA is rotated
  • Fixed bug in Linear Velocity Motor regarding the timestep
  • Fixed bug in Position Motor regarding the timestep
  • motion should be not exported for physics entities that have the Simulate component disabled.
  • Fixed a bug in which scale value was read from LocalTransform array even if the array had zero size.
  • 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
  • It is now possible to enable impulse events feature using Constraint creation methods.
  • When baking a configurable joint into a motor, the Break Force and Break Torque now update the Max Impulse for breakable events