1 2 3 4 5 6 7 8 9 10
use gizmo_physics::components::RigidBody; fn main() { let comp = RigidBody::new(1.0, 0.5, 0.5, true); match ron::ser::to_string(&comp) { Ok(str) => tracing::info!("Success! {}", str), Err(e) => tracing::info!("FAIL! {:?}", e), } }