Tweaked physics so that wheel raycasts happen from inside the collision shape

(fixes karts getting stuck at borders), use a longer less bevelled collision
shape better kart stability), and reduce angular factor to make it less
likely that karts can drive on walls.
This commit is contained in:
hiker 2017-09-06 09:06:04 +10:00
parent 5cbcd79cca
commit 92aec928a1
2 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@
chassis-angular-damping="0"
downward-impulse-factor="5"
track-connection-accel="2"
angular-factor="0.5 1.0 0.5"
angular-factor="0.25 1.0 0.5"
smooth-flying-impulse="250" />
<!-- Turning

View File

@ -399,8 +399,8 @@
behaviour of the karts. -->
<collision impulse-type="normal"
impulse="3000" impulse-time="0.1" terrain-impulse="160"
restitution="1.0" bevel-factor="0.5 0.0 0.7"
physical-wheel-position="-1" />
restitution="1.0" bevel-factor="0.5 0.0 0.3"
physical-wheel-position="0" />
<!-- Skidding: increase: multiplicative increase of skidding factor in each frame.
decrease: multiplicative decrease of skidding factor in each frame.