[ODE] Status of TerrainAndCone

Ian Overgard ian at facehat.com
Wed Jun 2 14:10:24 MST 2004


Gabriel Gambetta wrote:

>>From: John Miles [mailto:jmiles at pop.net] 
>>The terrain part of TerrainAndCone is not very stable, in my 
>>experience.  No bugs, just poor contact-generation quality.
>>    
>>
>
>How poor? I'm doing an arcadey racing game, so I don't need it to be
>extremely precise, just enough to *look* more or less right. As long as
>it doesn't explode and behaves more or less realistic, I could use it.
>
>
>
>_______________________________________________
>ODE mailing list
>ODE at q12.org
>http://q12.org/mailman/listinfo/ode
>
>
>  
>
The main issue I've had is that objects tend to "stick" to the terrain, 
even when it's inappropriate. For instance, I can drive a vehicle 
straight up a cliff that's at an 80 or so degree angle to the ground and 
then park. Yes, you read that right, I can park a vehicle on a cliffside 
-- no sliding at all. Or drive straight up it if I want. I suppose it's 
a bit better than the previous version where objects tended to explode 
off of cliff faces, but it's still far from being very realistic. There 
are a couple workarounds -- if I increase the mass so that the pull of 
gravity generates enough force then objects tend to slide down the 
cliffface rather than being able to scale it. It still seems rather 
"sticky" though.

Of course, I might be doing something wrong myself. I noticed the 
documentation mentioned something about sorting contacts, although it 
wasn't specific enough that I was sure how I'd go about doing so; so at 
the moment I'm somewhat unsure if there's a solution that I've just been 
unable to implement.

As to how well it could work for an arcadey racing game, I suppose it 
would likely work alright as long as you keep the objects masses on the 
heavy side (mass of 1 unit isn't really sufficient, I had mine set to 
around 6-8 units in order to make it workable).

(I should of course make clear that this is just my own personal 
experiences with TerrainAndCone. There's always the possibility that 
I've just been using it wrong, although it seems like others have been 
having similiar problems).

--Ian



More information about the ODE mailing list