Add comment to ObjectMotionState::updateCCDConfiguration

This commit is contained in:
Ryan Huffman 2015-11-03 11:22:15 -08:00
parent b410604475
commit c0a7da0b88

View file

@ -115,6 +115,8 @@ void ObjectMotionState::setMotionType(MotionType motionType) {
_motionType = motionType;
}
// Update the Continuous Collision Detection (CCD) configuration settings of our RigidBody so that
// CCD will be enabled automatically when its speed surpasses a certain threshold.
void ObjectMotionState::updateCCDConfiguration() {
if (_body) {
if (_shape) {