From 8c525ab2d43c4317bf059d5c72d9fe65866e06f1 Mon Sep 17 00:00:00 2001 From: hiker Date: Sat, 16 Aug 2014 10:20:24 +1000 Subject: [PATCH] Make the physics settings configurable, but default to use the old settings for now. --- data/stk_config.xml | 7 +++++-- src/karts/kart.cpp | 6 ++++-- src/karts/kart_properties.cpp | 11 +++++++++-- src/karts/kart_properties.hpp | 10 ++++++++-- 4 files changed, 26 insertions(+), 8 deletions(-) diff --git a/data/stk_config.xml b/data/stk_config.xml index f6b5c9223..b45b46a6e 100644 --- a/data/stk_config.xml +++ b/data/stk_config.xml @@ -415,11 +415,14 @@ physical-wheel-position: Defines where the 'physical' (raycast) wheel will be located. It's a weight factor with 0 = being at the widest side of the bevel, 1 = at the front and - narrowest part of the kart. --> + narrowest part of the kart. If the value is less than 0, the old + physics settings are used which places the raycast wheels + outside of the chassis and results in more stable physical + behaviour of the karts. --> + physical-wheel-position="-1" />