From 6cb13a3063b95e2a16a8838cb9c4d328034e3901 Mon Sep 17 00:00:00 2001 From: qhdwight Date: Tue, 9 Jul 2024 18:06:33 -0700 Subject: [PATCH] Update readme --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e5f5f85..b0fc68b 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ fn setup(mut commands: Commands, ...) { ... let logical_entity = commands .spawn(( - Collider::capsule(Vec3::Y * 0.5, Vec3::Y * 1.5, 0.5), + Collider::capsule_y(1.0, 0.5), Friction { coefficient: 0.0, combine_rule: CoefficientCombineRule::Min, @@ -69,8 +69,7 @@ fn setup(mut commands: Commands, ...) { FpsController { ..default() } )) .insert(CameraConfig { - height_offset: 0.0, - radius_scale: 0.75, + height_offset: -0.5, }) .id();