diff options
| author | Nash <me@aunyks.com> | 2023-03-20 22:49:51 -0400 |
|---|---|---|
| committer | Sébastien Crozet <developer@crozet.re> | 2023-03-26 14:57:43 +0200 |
| commit | c1860c504bf271e5ed67e6019f7464d00478fb58 (patch) | |
| tree | dbcbba4c70c9871b7d85721001b97a6550c8cd95 /examples3d | |
| parent | e4e37b4d9cabe883887bae8495920973a36301c6 (diff) | |
| download | rapier-c1860c504bf271e5ed67e6019f7464d00478fb58.tar.gz rapier-c1860c504bf271e5ed67e6019f7464d00478fb58.tar.bz2 rapier-c1860c504bf271e5ed67e6019f7464d00478fb58.zip | |
Add the Ability to Control the Side-to-Side Grip of a Raycast Vehicle Wheels
Diffstat (limited to 'examples3d')
| -rw-r--r-- | examples3d/vehicle_controller3.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples3d/vehicle_controller3.rs b/examples3d/vehicle_controller3.rs index 1228c82..fec675a 100644 --- a/examples3d/vehicle_controller3.rs +++ b/examples3d/vehicle_controller3.rs @@ -44,7 +44,7 @@ pub fn init_world(testbed: &mut Testbed) { ]; for pos in wheel_positions { - vehicle.add_wheel(pos, -Vector::y(), Vector::z(), hh, hh / 4.0, &tuning); + vehicle.add_wheel(pos, -Vector::y(), Vector::z(), hh, hh / 4.0, 1.0, &tuning); } /* |
