I wanted do create collision for my models but when I run my program a window popps up that says the program has reached a breakpoint trigger.
While debugging I found something odd. In the bullet file btTriangleMeshShape.h there is a Method:
Code: Select all
void btTriangleMeshShape::calculateLocalInertia(btScalar mass,btVector3& inertia) const
{
(void)mass;
//moving concave objects not supported
btAssert(0);
inertia.setValue(btScalar(0.),btScalar(0.),btScalar(0.));
}
Is my file broken or is it just visual studio that does confusing things?
And if it's my hit box that is concave, what can I do that it is not concave?
Thank you for your answsers.