🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Bullet Debug Drawer Vertex Buffer always empty?

Started by
0 comments, last by lucky6969b 6 years, 4 months ago

In the Draw call, I just render all buffered vertices collected from the dynamics world, at the entry point of Draw, it always reporting empty buffers. I have setup the DXDebugDrawer correctly by deriving from the btIDebugDraw interface and I've made a call to the setDebugDrawer, how come it didn't work?


if (m_dynamicsWorld)
{
m_dynamicsWorld->debugDrawWorld();
dynamic_cast(m_dynamicsWorld->getDebugDrawer())->Draw();
}



thanks
Jack

This topic is closed to new replies.

Advertisement