- 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
This commit is contained in:
nor..67 2011-10-15 14:03:05 +00:00
parent b5010ce207
commit f798988f0a

View File

@ -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);