- 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:
parent
425d459668
commit
b5010ce207
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user