mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 07:37:20 +02:00
Add comment to ObjectMotionState::updateCCDConfiguration
This commit is contained in:
parent
b410604475
commit
c0a7da0b88
1 changed files with 2 additions and 0 deletions
|
@ -115,6 +115,8 @@ void ObjectMotionState::setMotionType(MotionType motionType) {
|
||||||
_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() {
|
void ObjectMotionState::updateCCDConfiguration() {
|
||||||
if (_body) {
|
if (_body) {
|
||||||
if (_shape) {
|
if (_shape) {
|
||||||
|
|
Loading…
Reference in a new issue