debugDrawer is not working

Post Reply
chrissieBrown
Posts: 1
Joined: Tue Jul 28, 2015 9:34 pm

debugDrawer is not working

Post by chrissieBrown »

Hello friends,

i have implemented the debugDrawer.

it isnt painting anything.
The Constructor gets calles:

Code: Select all

void GLDebugDrawer::drawLine(const btVector3& from,const btVector3& to,const btVector3& color)
{
    cout << "GLDebugDrawer::drawLine " << endl;
i see this output
this output i see never:

Code: Select all

void GLDebugDrawer::drawContactPoint(const btVector3& PointOnB,const btVector3& normalOnB,btScalar distance,int lifeTime,const btVector3& color)
{

    cout << "GLDebugDrawer::drawContactPoint" << endl;
what am i missing? I chechekd nearly everything.
i am using bullet 2.83 the current release.

thanx

chrissie
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

Re: debugDrawer is not working

Post by Erwin Coumans »

Did you enable some debug drawing mode? It might help to compare your implementation and initialization with the Bullet Example Browser, it has a working debug drawer.
Post Reply