BlitzODE level changer

Blitz3D Forums/Blitz3D Beginners Area/BlitzODE level changer

fox95871(Posted 2009) [#1]
Hi, this is for anyone good at BlitzODE. How can I free old TriMeshes? I already tried ODE_dGeomTriMeshDataDestroy and some other desperate attempts like destroying and recreating the physics world whenever LevelChanger is used, but nothing seems to work. The TriMeshes just keep piling up. By the way, I don't recommend using LevelChanger more than 3 times at this point or you might have to manually restart your computer.



These files have to be in C:\Program Files\Blitz3D\userlibs for the above example to work.

http://www.mediafire.com/?mcnr93mm8g9ubd3

Last edited 2010


Nate the Great(Posted 2009) [#2]
hmm I really dont know what to do, they dont seem to have a documented command for destroying trimeshes...


fox95871(Posted 2009) [#3]
There was one called ODE_dGeomTriMeshDataDestroy(), but it didn't work. It's in my code, commented out. Maybe I used it wrong? Who made BlitzODE by the way?