diff --git a/src/bike.rs b/src/bike.rs index ed680d7..645eed5 100644 --- a/src/bike.rs +++ b/src/bike.rs @@ -152,7 +152,7 @@ fn spawn_wheels( FixedJoint::new(front_hub, body).with_local_anchor_2(*xform.forward() + rake_vec), )); - let rear_pos = xform.translation + Vec3::new(0.0, -1.0, 0.57); + let rear_pos = xform.translation + Vec3::new(0.0, -1.0, 0.57).normalize(); let rear_hub = helper(&mut commands, &mut meshes, &mut materials, rear_pos); commands.entity(rear_hub).insert(RearHub); commands.spawn((