From d2c608c788c472333b086177f4500fbd4beb36b7 Mon Sep 17 00:00:00 2001 From: Riccardo Balbo Date: Thu, 21 Apr 2016 18:32:56 +0200 Subject: [PATCH] Fix for setAngularDamping / bullet native. --- .../src/native/cpp/com_jme3_bullet_objects_PhysicsRigidBody.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jme3-bullet-native/src/native/cpp/com_jme3_bullet_objects_PhysicsRigidBody.cpp b/jme3-bullet-native/src/native/cpp/com_jme3_bullet_objects_PhysicsRigidBody.cpp index c9fef97cb..2ea5557d0 100644 --- a/jme3-bullet-native/src/native/cpp/com_jme3_bullet_objects_PhysicsRigidBody.cpp +++ b/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); } /*