mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-30 10:41:34 +00:00
Slightly increase backoff value
This commit is contained in:
parent
b3d5c2bd7f
commit
cf7b0098ed
1 changed files with 1 additions and 1 deletions
|
@ -401,7 +401,7 @@ namespace MWPhysics
|
|||
if (tracer.mFraction < 1E-9f)
|
||||
{
|
||||
// Try to separate by backing off slighly to unstuck the solver
|
||||
const osg::Vec3f backOff = (newPosition - tracer.mHitPoint) * 1E-3f;
|
||||
osg::Vec3f backOff = (newPosition - tracer.mHitPoint) * 1E-2f;
|
||||
newPosition += backOff;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue