[ODE] example for using trimesh landscapes
Megan Fox
shalinor at gmail.com
Wed Oct 27 12:43:32 MST 2004
What is your MAX_CONTACTS set at? Is it at least 24?
(trimesh geometry requires a LOT more contacts to be correct than
normal geom-geom collisions)
I admit I haven't tested this (still fiddling with my house geometry,
haven't gotten to terrain), but it seems like you should be able to
classify your geom types and only use the larger number of contacts
for X-vs-trimesh collisions, rather than upping your MAX_CONTACTS to
24 for everything. Not really important until you've got the basic
setup working and are optimizing, though.
-Megan Fox
> I've tried to replicate your ODE setup Tyler as much as I could see (Ode
> init, collision settings... couldn't find mass and density settings of
> bodies though). My problem is that nothing seems to collide in a natural
> fashion, and when they do most of the time they bounce around
> erratically and/or get embedded in each other. That's a really lame
> description of the problem I know, so if you want a look at what I mean
> here's a (Win32 DirectX SDK built... sorry!) binary:
More information about the ODE
mailing list