bevy_xpbd
bevy_xpbd copied to clipboard
Fix non-square `Collider::heightfield` row and column count order
Objective
The row and column counts in Collider::heightfield seem to be the wrong way around! This makes heightfields with a different number of rows and columns behave incorrectly in comparison to the documented representation.
The heightfield below should slope up smoothly left to right.
Solution
Fix the order.