Skip to content

Commit d2c608c

Browse files
committed
Fix for setAngularDamping / bullet native.
1 parent 3353aea commit d2c608c

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)