1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-09 12:42:11 +00:00
OpenMW/apps/openmw
fredzio 5215ffd964 The debug drawer rely on Bullet to determines the vertices of collision
shapes. It doesn't work in the case of spheres (used by projectiles):
resulting shape is malformed. It can also leads to this error which
makes the debug drawer non-working till game restart:
CullVisitor::apply(Geode&) detected NaN,
    depth=nan, center=(nan nan nan),
    matrix={
       -0.265814 -0.0639702 0.9619 0
       0.964024 -0.0176387 0.265228 0
       -4.29769e-09 0.997796 0.0663574 0
       18178.6 -3550.91 42154.4 1
}

Avoid this issue by using osg::Sphere

While here, remove an unused function. We don't use Bullet's solver so
we never have any contact points (in Bullet parlance).
2021-01-01 17:47:12 +01:00
..
mwbase Make followers keep a distance dependant on the fattest party member 2020-12-25 23:57:01 +01:00
mwclass
mwdialogue
mwgui Enhance level-up tooltip 2020-12-28 12:13:09 +04:00
mwinput
mwmechanics Switch torches to shields for hostile NPCs 2020-12-29 01:40:30 +00:00
mwphysics Fix GCC build warnings 2020-12-28 12:06:41 +04:00
mwrender The debug drawer rely on Bullet to determines the vertices of collision 2021-01-01 17:47:12 +01:00
mwscript Introduce World::moveObjectBy() function to translate an object relatively to 2020-12-18 08:40:38 +01:00
mwsound
mwstate
mwworld Switch torches to shields for hostile NPCs 2020-12-29 01:40:30 +00:00
android_main.cpp
CMakeLists.txt values for this higher than sGroundOffset cause jittering on some surface; use safe-seeming value slightly less than sGroundOffset 2020-12-27 22:16:11 +00:00
doc.hpp
engine.cpp
engine.hpp
main.cpp