From f798988f0a4e931b07054936c4aa267e515433ce Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Sat, 15 Oct 2011 14:03:05 +0000 Subject: [PATCH] - commit fix to native bullet RigidBody setRestitution (thanks to @chototsu) git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8394 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/bullet/com/jme3/bullet/objects/PhysicsRigidBody.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/bullet/com/jme3/bullet/objects/PhysicsRigidBody.java b/engine/src/bullet/com/jme3/bullet/objects/PhysicsRigidBody.java index 284307173..eac3f3e7f 100644 --- a/engine/src/bullet/com/jme3/bullet/objects/PhysicsRigidBody.java +++ b/engine/src/bullet/com/jme3/bullet/objects/PhysicsRigidBody.java @@ -420,7 +420,7 @@ public class PhysicsRigidBody extends PhysicsCollisionObject { * @param restitution */ public void setRestitution(float restitution) { - setRestitution(objectId, mass); + setRestitution(objectId, restitution); } private native void setRestitution(long objectId, float factor);