aboutsummaryrefslogtreecommitdiff
path: root/examples3d
diff options
context:
space:
mode:
authorNash <me@aunyks.com>2023-03-20 22:49:51 -0400
committerSébastien Crozet <developer@crozet.re>2023-03-26 14:57:43 +0200
commitc1860c504bf271e5ed67e6019f7464d00478fb58 (patch)
treedbcbba4c70c9871b7d85721001b97a6550c8cd95 /examples3d
parente4e37b4d9cabe883887bae8495920973a36301c6 (diff)
downloadrapier-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.rs2
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);
}
/*