Bug #235
various vehicles keep resetting themselfes
| Status: | Fixed | Start date: | 04/19/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | RoR - Physics | |||
| Target version: | 0.37 | |||
| Operating System: | All | Operating System Bits: |
Description
with the latest SVN, several people have reported a new instability in the beam engine.
see http://forum.rigsofrods.com/index.php?topic=33082.msg315857#msg315857
can this be related to the latest friction changes and/or to the existing ground models configurations?
History
#1
Updated by tdev about 2 years ago
- Status changed from New to Researching
#2
Updated by Aperion about 2 years ago
I looked into this yesterday since it drove me crazy. it keeps resting because the tmaxx and tmaxz are infinity. No idea why seeing as the values their taken from are not infinity.
The specific place triggering the reset is Beam.cpp:
8182 if (!inRange(tminx+tmaxx+tminy+tmaxy+tminz+tmaxz, -1e9, 1e9))
8183 {
8184 reset_requested=1; // truck exploded, schedule reset
8185 return; // return early to avoid propagating invalid values
8186 }
#3
Updated by estama about 2 years ago
The "improved static friction" patch was very simple. No major changes and it looked very safe. The instability that it has created, has certainly surprised me a lot, .
Sorry for committing it without more testing.
I've reverted, the "improved static friction" patch, until its problems are found and resolved.
#4
Updated by tdev about 2 years ago
- Status changed from Researching to Fixed
- % Done changed from 0 to 100
#5
Updated by estama about 2 years ago
New patch has been commited, so as to have more widespread testing. For more:
http://forum.rigsofrods.com/index.php?topic=24985.msg321228#msg321228
Apart from eliminating node stickiness, it also solves an old instability bug.