diff --git a/jme3-bullet/src/main/java/com/jme3/bullet/joints/SoftPhysicsJoint.java b/jme3-bullet/src/main/java/com/jme3/bullet/joints/SoftPhysicsJoint.java index cb7eeab484..266f629530 100644 --- a/jme3-bullet/src/main/java/com/jme3/bullet/joints/SoftPhysicsJoint.java +++ b/jme3-bullet/src/main/java/com/jme3/bullet/joints/SoftPhysicsJoint.java @@ -36,6 +36,8 @@ import com.jme3.export.*; import com.jme3.math.Vector3f; import java.io.IOException; +import java.util.logging.Level; +import java.util.logging.Logger; /** *

@@ -53,6 +55,8 @@ public abstract class SoftPhysicsJoint extends PhysicsJoint { protected float constraintForceMixing = 1; protected float split = 1; + private boolean added = false; + protected SoftPhysicsJoint() { } @@ -97,6 +101,7 @@ public boolean isCollisionBetweenLinkedBodys() { /** * Get the error reduction parameter coefficient (aka ERP). + *

From bullet documentation :

*

* The ERP specifies what proportion of the joint error will be fixed during * the next simulation step. @@ -121,6 +126,7 @@ public float getErrorReductionParameter() { /** * Set the error reduction parameter coefficient (aka ERP). + *

From bullet documentation :

*

* The ERP specifies what proportion of the joint error will be fixed during * the next simulation step. @@ -145,6 +151,7 @@ public void setErrorReductionParameter(float erp) { /** * Get the constraint force mixing coefficient (aka CFM). + *

From bullet documentation :

*