- 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:
parent
b5010ce207
commit
f798988f0a
@ -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…
x
Reference in New Issue
Block a user