ode4j icon indicating copy to clipboard operation
ode4j copied to clipboard

Observer falls throught triangle terrain

Open ghost opened this issue 11 years ago • 1 comments

Hi, in my WalkOnTheMoon Applet, the observer is a sphere object. Unfortunately, if I do not set damping on the observer, it can happen, that he falls through the terrain. I can help fix this, but I need to know, which files are to be touched. Sincerely Thorsten

ghost avatar Dec 06 '13 22:12 ghost

If the problem occurs only with spheres, then the relevant file is probably GimTrimeshSphereCollision.java. Otherwise it could be anywhere else (AABB checks, space collision, ...?). I think this is a known bug, even in the ODE C/C++ version, so it may be hard to fix, i.e. not just a type, but a conceptual problem with the trimesh collider.

Most definitely, ODE has a problem when colliding with heightfields, whoch also tend to let objects fall through. So the problem may be somewhere in ODE/ode4j, not in Gimpact.

But any contributions are highly welcome.

tzaeschke avatar Dec 08 '13 19:12 tzaeschke

Probably not relevant anymore. Please open new issue if it is observed again.

tzaeschke avatar May 19 '23 17:05 tzaeschke