Page 1 of 1

Does anyone tried testing trimesh on PS2 with ODE?

Posted: Thu Feb 23, 2006 12:28 am
by todi1856
Hello, i am using ODE on PS2 and currently stuck with trimesh...

I added trimesh and some flying boxes , as soon as boxes colliding with trimesh , program crashes :/ my guess that the crash occurs:

int dCollideBTL(dxGeom* g1, dxGeom* BoxGeom, int Flags, dContactGeom* Contacts, int Stride);


BTW another strange thing , when i've tried compile with flag -O2 crashes were gone, but boxes were mading randomly collision with trimesh, ones were flying through, others hitting it.

Please someone out there help me :)

Posted: Fri Feb 24, 2006 6:48 pm
by todi1856
Kind a quiet here,
well if someone runs in the same error, here's what i've found.

The evil error which, was the cause of my problems, was in a little function used for debug for display stack, in other words, memory corruption ---> big problems .

Now the trimesh is working perfectly =]