bevy_xpbd icon indicating copy to clipboard operation
bevy_xpbd copied to clipboard

Issue when upgrading avian 0.2.1

Open cBournhonesque opened this issue 9 months ago • 0 comments
trafficstars

Something in avian 0.2.1 is breaking the way my ColliderAABB is computed. My flow:

  • after Solver but before SpatialQuery, I update the Position/Rotation/Collider of an entity that is a child of a parent Collider (the child entity is not a RigidBody, though)
  • in PostUpdate, I use a gizmos to display the child's ColliderAABB (which is updated with one-frame delay in update_aabbs which runs in BroadPhase (before Solver)
  • I use the normal sync plugin

It works fine in 0.2.0 but in 0.2.1 my ColliderAABB is in a different position than expected The only PR which seems to be related is https://github.com/Jondolf/avian/pull/620 (Also do you use PreviousTransform to avoid change detection issues with interpolation?)

cBournhonesque avatar Jan 28 '25 19:01 cBournhonesque