heyda {l Wrote}:Hi, I play STK for quiet a while now, starting with 0.7 I noticed on the Ubuntu 0.8 on AMD64 and on Win7 on AMD64 that the keyboard actions seem to be a bit delayed (~300ms) till the car model acts on the input.
Is this due the new drifting-mode or is it a real bug? Can anybody confirm this or has anybody an idea, how you can tewak this behaviour?
There is always a certain delay when using keyboard before _full_ steering is reached, but the karts should start turning immediately. The delay is useful for digital controller to give the player the ability to 'steer a little bit'. You should be able to see this if you steer with kart animations enabled: kart should start turning immediately, but it will take around 0.2 seconds before it reaches full steering. Just try this when standing still.
If there is a delay, I doubt that this is caused by STK.
To verify what exactly you are seeing you can try reducing this steering delay in data/stk_config.xml:
- {l Code}: {l Select All Code}
time-full-steer: This is the amount of change in steering depending
on current steering. So if the steering is between 0 and 0.5,
the time-for-steering-change is 0.15. If the current steering is
between 0.5 and 1.0, the time-for-steering-change is 0.25.
The speed is used as dt/time-for-steering-change.
In short: steering at less than halfway is somewhat faster,
which should avoid oversteering (by pressing the key for too long),
but slower when you want to steer more. Overwall with the current
settings the expected time-to-full-steer is:
0.5 * 0.25 + 0.5 * 0.15 = 0.2 ... which is overall the same
time we had previously.
<turn turn-radius="0:2.0 10:7.5 25:15 45:30"
time-full-steer ="0:0.15 0.5:0.15 0.5:0.25 1.0:0.25"
time-reset-steer="0.1" />
If you set time-full-steer to smaller values (but >0 - e.g. simply try: time-full-steer ="0:0.001 1.0:0.001" ), you should get a much faster reaction - just to verify where your problem is coming from. Just remember to reset to the original values afterwards

Cheers,
Joerg
PS: In 0.8 the documentation for this value in stk_config.xml was slightly wrong, the values were changed without updating the documentation ... just in case that you are reading the docs in the file
