Added keyboardUpCallback,

Thanks to Erik Weitnauer
http://code.google.com/p/bullet/issues/detail?id=215#c1

Fixed ccdMotionThreshold (wrongly squared input value)
Thanks to Mark Carlson for the report/fix.
http://code.google.com/p/bullet/issues/detail?id=216#c1
This commit is contained in:
erwin.coumans
2009-05-23 02:48:16 +00:00
parent 0ada7cbb1e
commit 0c097bd45a
3 changed files with 11 additions and 3 deletions

View File

@@ -393,7 +393,7 @@ public:
/// Don't do continuous collision detection if the motion (in one step) is less then m_ccdMotionThreshold
void setCcdMotionThreshold(btScalar ccdMotionThreshold)
{
m_ccdMotionThreshold = ccdMotionThreshold*ccdMotionThreshold;
m_ccdMotionThreshold = ccdMotionThreshold;
}
///users can point to their objects, userPointer is not used by Bullet