bevy_xpbd
bevy_xpbd copied to clipboard
Issue when upgrading avian 0.2.1
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?)