- commit fix to bullet RigidBody angular/linear mixup (thanks to @chototsu)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8393 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
nor..67 2011-10-15 13:52:24 +00:00
parent 425d459668
commit b5010ce207

View File

@ -433,7 +433,7 @@ extern "C" {
env->ThrowNew(newExc, "The native object does not exist.");
return;
}
body->setDamping(body->getLinearDamping(), value);
body->setDamping(body->getAngularDamping(), value);
}
/*
@ -756,7 +756,7 @@ extern "C" {
env->ThrowNew(newExc, "The native object does not exist.");
return;
}
body->setSleepingThresholds(value, body->getAngularSleepingThreshold());
body->setSleepingThresholds(value, body->getLinearSleepingThreshold());
}
/*
@ -772,7 +772,7 @@ extern "C" {
env->ThrowNew(newExc, "The native object does not exist.");
return;
}
body->setSleepingThresholds(body->getLinearSleepingThreshold(), value);
body->setSleepingThresholds(body->getAngularSleepingThreshold(), value);
}
/*