aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNash <me@aunyks.com>2023-03-21 10:07:23 -0400
committerSébastien Crozet <developer@crozet.re>2023-03-26 14:57:43 +0200
commit285fe89dd5562c27db0ab5a2e913fd102e9dcee8 (patch)
tree1ea500f4a1ff846ac82a41956cca83f49fa643c5 /src
parentc1860c504bf271e5ed67e6019f7464d00478fb58 (diff)
downloadrapier-285fe89dd5562c27db0ab5a2e913fd102e9dcee8.tar.gz
rapier-285fe89dd5562c27db0ab5a2e913fd102e9dcee8.tar.bz2
rapier-285fe89dd5562c27db0ab5a2e913fd102e9dcee8.zip
Make raycast vehicle friction_slip property public
Diffstat (limited to 'src')
-rw-r--r--src/control/ray_cast_vehicle_controller.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/ray_cast_vehicle_controller.rs b/src/control/ray_cast_vehicle_controller.rs
index 0d0a437..bea698c 100644
--- a/src/control/ray_cast_vehicle_controller.rs
+++ b/src/control/ray_cast_vehicle_controller.rs
@@ -135,7 +135,7 @@ pub struct Wheel {
///
/// The larger the value, the more instantaneous braking will happen (with the risk of
/// causing the vehicle to flip if it’s too strong).
- friction_slip: Real,
+ pub friction_slip: Real,
/// The wheel’s current rotation on its axle.
pub rotation: Real,
delta_rotation: Real,