Debug lines with no body

BlackDogJones

02-09-2008 19:37:05

Hi,

for a project that I am currently working on I have decided to use
OgreNewt::CollisionPrimitives without attaching bodies to them i.e. do all the low level collision checking myself.

From what I understand from OgreNewt_Debugger.cpp the debug lines are obtained from:


NewtonWorldForEachBodyDo(world->getNewtonWorld(), newtonPerBody);


i.e. from the bodies.

Is there a way in which I can modify the OgreNewt_Debugger.h /.cpp file such that the white debug lines will be shown using only OgreNewt::CollisionPrimitives?

Any help will be greatly appreciated.