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:
@@ -17,7 +17,10 @@ pub fn init_world(testbed: &mut Testbed) {
|
||||
/*
|
||||
* Set up the testbed.
|
||||
*/
|
||||
let bytes = std::fs::read("state.bin").unwrap();
|
||||
let Ok(bytes) = std::fs::read("state.bin") else {
|
||||
println!("Failed to load serialized world state.");
|
||||
return;
|
||||
};
|
||||
let state: State = bincode::deserialize(&bytes).unwrap();
|
||||
|
||||
testbed.set_world(
|
||||
|
||||
Reference in New Issue
Block a user