We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Collider::heightfield
1 parent f951ed3 commit d2fd5dfCopy full SHA for d2fd5df
src/collision/collider/parry/mod.rs
@@ -868,7 +868,7 @@ impl Collider {
868
"Each row in `heights` must have the same amount of points"
869
);
870
871
- let heights = nalgebra::DMatrix::from_vec(row_count, column_count, data);
+ let heights = nalgebra::DMatrix::from_vec(column_count, row_count, data);
872
SharedShape::heightfield(heights, scale.into()).into()
873
}
874
0 commit comments