13175b8566
of 40%. This allows longer skids in wider turns (e.g. hacienda). 2) Improved skidding decision when sharp turning is required: on sharp turn when already skidding, wait till an 'even sharper' turn is required, which (usually) means that then the AI is nicely aligned with the new track direction when releasing skid, which makes nice use of the bonus and the additional rotation. If not skidding when sharp turn is required, don't even start one. 3) Prevent AI from skidding 'against' track direction (i.e. track is turning left, but AI tries to skid right). This happened before (e.g. when slightly adjusting steering) and caused rapid left/right turns (and skid/stop/skid/stop sequences). 4) Allow some steering in wrong direction when skidding (to allow for some incorrect estimations, and to avoid skidding on/off sequences when only minor corrections are necessary). 5) If adjusted (i.e. taking the skid steering reduction into account) steer fraction when skidding is too high, stop skidding. 6) Re-enabled braking when AI is not aligned with track direction. 7) Improve debug output so that only a state change (skidding to non-skidding and vice versa) triggers output (instead of output every frame). git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11469 178a84e3-b1eb-0310-8ba1-8eac791a3b58 |
||
---|---|---|
.. | ||
challenges | ||
fonts | ||
gfx | ||
grandprix | ||
gui | ||
models | ||
po | ||
shaders | ||
tutorials | ||
CREDITS | ||
items.xml | ||
Makefile.am | ||
powerup.xml | ||
run_me.sh | ||
stk_config.xml | ||
supertuxkart_32.xpm | ||
supertuxkart_64.xpm | ||
supertuxkart_desktop.template |