You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit is messy as I touched way too many things fixing what turned
out to be principal inertia.
* Added a heightmap test scene. It contains just a flat heightmap with a
ball. This was mainly to debug a pesky NaN issue
(dimforge/parry#20).
* Reduce the size of the "floor" in the single ray test due to
performance issues with large colliders (see
dimforge/rapier#153).
* Implement more methods of `PluggablePhysicsDirectBodyState`. It is
still very unfinished but it works for wheels now.
* Implement `body_apply_impulse`, `body_set_param`.
* Calculate inertia properly. It is not very efficient and called in too
many places right now, but it's fine for now.
* Remove many redundant `println`/`dbg`/... messages
* Fix update-cargo_branch not detecting `cargo-only` branch.
There is still a ton of stuff that is broken (especially heightmap &
concave colliders are wrong). This will be fixed soon.
Due to a division by 0 in
Sum<MassProperties>
it is possible to get NaN values.parry/src/mass_properties/mass_properties.rs
Line 386 in 8241547
This can happen when e.g. trying to compute the
MassProperties
of aHeighField
.I believe the
sum
function should either panic or return as soon as it detects the total mass is 0.Reproduction project:
The text was updated successfully, but these errors were encountered: