Search found 1 match

by tlshao
Wed Sep 03, 2014 10:38 am
Forum: General Bullet Physics Support and Feedback
Topic: [suspicous bug]dynamic_cast btGeneric6DofConstraint
Replies: 0
Views: 4521

[suspicous bug]dynamic_cast btGeneric6DofConstraint

Hi all, I may miss something, but it seems to me a little bug that btGeneric6DofConstraint doesn't have a virtual destructor. It causes problem when compiled using vs2010: Sample Code: btGeneric6DofSpringConstraint* con = new btGeneric6DofSpringConstraint(*(body), btTransform::getIdentity(), false);...