feat: solver improvements + release v0.29.0 (#876)
* feat: solver improvements * feat: add function to get/set whether gyroscopic forces are enabled on a rigid-body * chore: switch to released versions of parry and wide instead of local patches * fix cargo doc * chore: typo fixes * chore: clippy fix * Release v0.29.0 * chore: more clippy fixes
This commit is contained in:
@@ -104,7 +104,7 @@ pub fn init_world(testbed: &mut Testbed) {
|
||||
}
|
||||
}
|
||||
|
||||
for handle in physics.islands.active_dynamic_bodies() {
|
||||
for handle in physics.islands.active_bodies() {
|
||||
let body = physics.bodies.get_mut(*handle).unwrap();
|
||||
if body.position().translation.y > 1.0 {
|
||||
body.set_gravity_scale(1.0, false);
|
||||
|
||||
Reference in New Issue
Block a user