Jesus, the cyber bike is fucking massive.

This commit is contained in:
Joe Ardent 2022-02-27 16:18:26 -08:00
parent 5b4b526aaf
commit 181110c309
1 changed files with 4 additions and 4 deletions

View File

@ -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,