DarkPlacesEngine / DarkPlaces

The DarkPlaces Quake engine, created by LadyHavoc. Official Git repository (replaces SVN).
https://icculus.org/twilight/darkplaces/
GNU General Public License v2.0
291 stars 43 forks source link

Fix ODE Support #50

Open leila0202 opened 2 years ago

leila0202 commented 2 years ago

Currently when trying to use ODE via QC, physic objects will clip through the world, thus falling out of the level indefinitely, no matter which Geomtype is used.

ODE Version : 0.16.2 with double precision and

enabled (also tried with Trimesh support enabled, same results)

Using newest Darkplaces git version compiled with mysys2 on Windows 10 64 bit Build 19043

leila0202 commented 2 years ago

After some testing and digging through the source code of DP I found that the origin of the physic objects gets the value NaN (not a number) and the engine tries to correct it, but fails. One object gets transported to the world spawn, but haven't found out why only one object does that

theangrygrunt commented 1 year ago

ODE/physics support would be a huge boost in modernizing the engine and making it appealing to indie devs. Might even attract some modders/devs from the Source engine games who are tired of dealing with a barely functional SDK and Hammer's bugs.