MinieLibrary/src/main/java/jme3utilities/minie/PhysicsDumper.java
/**
     * Print the contact parameters of the specified rigid body.
     *
     * @param body (not null, unaffected)
     */
Print the contact parameters of the specified rigid body.

@param body (not null, unaffected)
Print the contact parameters of the specified rigid body . @param body ( not null unaffected )
private void addContactParameters(PhysicsRigidBody body) {
        float fric = body.getFriction();
        stream.print(" contact[fric=");
        stream.print(MyString.describe(fric));
        float rest = body.getRestitution();
        stream.print(" rest=");
        stream.print(MyString.describe(rest));
        float damp = body.getContactDamping();
        stream.print(" damp=");
        stream.print(MyString.describe(damp));
        float pth = body.getContactProcessingThreshold();
        stream.print(" pth=");
        stream.print(MyString.describe(pth));
        float stiff = body.getContactStiffness();
        stream.print(" stiff=");
        stream.print(MyString.describe(stiff));
        stream.print(']');
    }
private void addContactParameters ( PhysicsRigidBody body ) { float fric = body . getFriction ( ) ; stream . print ( " contact[fric=" ) ; stream . print ( MyString . describe ( fric ) ) ; float rest = body . getRestitution ( ) ; stream . print ( " rest=" ) ; stream . print ( MyString . describe ( rest ) ) ; float damp = body . getContactDamping ( ) ; stream . print ( " damp=" ) ; stream . print ( MyString . describe ( damp ) ) ; float pth = body . getContactProcessingThreshold ( ) ; stream . print ( " pth=" ) ; stream . print ( MyString . describe ( pth ) ) ; float stiff = body . getContactStiffness ( ) ; stream . print ( " stiff=" ) ; stream . print ( MyString . describe ( stiff ) ) ; stream . print ( ']' ) ; }
Print the contact parameters of the specified rigid body.
Print the contact parameters of the specified rigid body .