- 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
3.0
nor..67 13 years ago
parent b5010ce207
commit f798988f0a
  1. 2
      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);

Loading…
Cancel
Save