From 181110c309fd353c5104d029349b62b7765671ce Mon Sep 17 00:00:00 2001 From: Joe Ardent Date: Sun, 27 Feb 2022 16:18:26 -0800 Subject: [PATCH] Jesus, the cyber bike is fucking massive. --- src/colliders.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/colliders.rs b/src/colliders.rs index c5abe93..263d460 100644 --- a/src/colliders.rs +++ b/src/colliders.rs @@ -91,13 +91,13 @@ fn setup_bike_collider(bike: Entity, xform: &Transform, commands: &mut Commands) bbody.position = isometry.into(); // collider let shape = ColliderShape::capsule( - Vec3::new(0.0, 0.0, -5.25).into(), - Vec3::new(0.0, 0.0, 5.25).into(), - 5.2, + Vec3::new(0.0, 0.0, -2.7).into(), + Vec3::new(0.0, 0.0, 2.0).into(), + 1.0, ); let bcollide = ColliderBundle { shape: shape.into(), - mass_properties: ColliderMassProps::Density(0.6).into(), + mass_properties: ColliderMassProps::Density(0.04).into(), material: ColliderMaterial { friction: 0.0, restitution: 0.0,