Terrain following with Collision System

I have been trying to get terrain following to work using the collision system. I started with the MovementForce class included in the Quake3 demo as a base. I quickly discovered that it has real issues with slopes you can’t climb or descend down them although, you can kinda slide but its not smooth. If I make the terrain completly flat then its fine I can walk around and fall of the edge :). I have been stepping throught the collision system most of the evening trying to figure how it all works. At this point I’m at a loss.

In the past I would have just cast a ray stright down from the next location to get the next point on the slope but from as far as I can tell you don’t have access to that level of detail with Xith. I could write the code outside of the collision detection system but I’m trying to avoid that.

Any ideas?

No solution, but you can also use ODE and Xith3D (see the OdeJava project), if the builtin collision system doesn’t work well for you. Xith3D’s collision system doesn’t have good documentation AFAIK.

checkout the CarTerrain demo if you do look at Odejava.

sorry, no JWS yet.

Will.