Skip to content

Commit 185eb7b

Browse files
committed
Merge pull request #481 from riccardobl/fix_setAdamping_bulletnative
Fix for setAngularDamping / bullet native.
2 parents 0f55141 + d2c608c commit 185eb7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jme3-bullet-native/src/native/cpp/com_jme3_bullet_objects_PhysicsRigidBody.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ extern "C" {
434434
env->ThrowNew(newExc, "The native object does not exist.");
435435
return;
436436
}
437-
body->setDamping(body->getAngularDamping(), value);
437+
body->setDamping(body->getLinearDamping(), value);
438438
}
439439

440440
/*

0 commit comments

Comments
 (0)