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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user