Ticket #398 (closed defect: fixed)
Reset feature works to unpredictable and sometimes wrong
| Reported by: | stefanpmuc | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.7.3 |
| Component: | SuperTuxKart | Version: | 0.7.2 |
| Keywords: | Cc: |
Description
The reset feature that is triggered when you are off-track is way to unpredictable.
On some tracks you only have to drive against a wall and you are reset because your kart is "shaking" strongly (on some of the snow tracks, I think Snow Hill, this can be seen very good). I'm not exactly sure, but sometimes it seems to me that it is triggered if the kart is "in the wall" (so, on a clipping error). So it would not be a problem with the shaking of the kart, but a problem with its position. In this case the reset trigger code should make clear, if the kart is really off-track or if it's just "behind a wall" because of a graphics error.
But on other tracks you have to fall down quite a large distance before the event is triggered (for example on XR591).
On XR591 I also noticed that it resets the player to a wrong position sometimes. This seems to happen if the tracks cross each other. I was then resetted to a place that was far behind my current position (and lost the race because of that).