- 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:
@@ -420,7 +420,7 @@ public class PhysicsRigidBody extends PhysicsCollisionObject {
|
|||||||
* @param restitution
|
* @param restitution
|
||||||
*/
|
*/
|
||||||
public void setRestitution(float restitution) {
|
public void setRestitution(float restitution) {
|
||||||
setRestitution(objectId, mass);
|
setRestitution(objectId, restitution);
|
||||||
}
|
}
|
||||||
|
|
||||||
private native void setRestitution(long objectId, float factor);
|
private native void setRestitution(long objectId, float factor);
|
||||||
|
|||||||
Reference in New Issue
Block a user