Merge pull request #481 from riccardobl/fix_setAdamping_bulletnative

Fix for setAngularDamping / bullet native.
cleanup_build_scripts
Kirill Vainer 9 years ago
commit 185eb7b6e5
  1. 2
      jme3-bullet-native/src/native/cpp/com_jme3_bullet_objects_PhysicsRigidBody.cpp

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

Loading…
Cancel
Save