- 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
3.0
nor..67 13 years ago
parent 425d459668
commit b5010ce207
  1. 6
      engine/src/bullet/native/com_jme3_bullet_objects_PhysicsRigidBody.cpp

@ -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…
Cancel
Save